Upgrade github actions #1439
Workflow file for this run
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
on: [pull_request] | |
jobs: | |
netcdf-java-tests: | |
name: netCDF-Java Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# test against latest 8, 11 of zulu and temurin java | |
java-version: [ 8, 11] | |
java-vendor: [ 'zulu', 'temurin' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and test with Gradle (${{ matrix.java-vendor }} ${{ matrix.java-version }}) | |
uses: Unidata/thredds-test-action@v2 | |
with: | |
java-vendor: ${{ matrix.java-vendor }} | |
java-version: ${{ matrix.java-version }} | |
build-tool: 'gradlew' | |
test-command: '--info --stacktrace testAll' | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: netCDF-Java_JUnit_Results_${{ github.sha }}_${{ matrix.java-vendor }}-${{ matrix.java-version }} | |
path: build/reports/allTests |