Skip to content

Upgrade github actions #1439

Upgrade github actions

Upgrade github actions #1439

Workflow file for this run

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