Bump com.gradle.plugin-publish from 1.2.1 to 1.3.0 #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- run: ./gradlew publishToMavenLocal | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: maven-local | |
path: ~/.m2 | |
if-no-files-found: error | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
testcase: | |
- sample_library | |
- cmake_layout | |
- no_default_profile_installed | |
- conanfile_dot_py | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- run: ./gradlew publishToMavenLocal | |
- run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;26.3.11579264" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- run: pip install conan | |
- run: conan profile detect | |
if: ${{ matrix.testcase != 'no_default_profile_installed' }} | |
- run: conan profile list | |
- run: ./gradlew assemble | |
working-directory: tests/${{ matrix.testcase }} |