Update actions/deploy-pages action to v3 (#671) #1298
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: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: JDK ${{ matrix.java_version }}, Config ${{ matrix.test_config_method }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java_version: [11, 17, 20] | |
test_config_method: ["DSL", "PROPERTIES", "BASE"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Install JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: ${{ matrix.java_version }} | |
- name: Accept Android SDK license | |
run: yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --licenses | |
- uses: gradle/gradle-build-action@v2 | |
- name: Build with Gradle | |
run: ./gradlew build --stacktrace -DtestConfigMethod=${{ matrix.test_config_method }} |