Update pipeline.yml

replace hardcoded Ubuntu version with "Ubuntu-latest"
This commit is contained in:
Sean Leary 2021-10-09 10:14:47 -05:00 committed by GitHub
parent d284c81e16
commit cf43419015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ on:
jobs: jobs:
# old-school build and jar method. No tests run or compiled. # old-school build and jar method. No tests run or compiled.
build-1_6: build-1_6:
runs-on: ubuntu-16.04 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
# build for java 1.6, however don't run any tests # build for java 1.6, however don't run any tests
@ -38,7 +38,7 @@ jobs:
path: target/org.json.jar path: target/org.json.jar
build: build:
runs-on: ubuntu-16.04 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
# build against supported Java LTS versions: # build against supported Java LTS versions:
@ -71,4 +71,4 @@ jobs:
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: Test Report ${{ matrix.java }} name: Test Report ${{ matrix.java }}
path: target/site/ path: target/site/