mirror of https://github.com/jwtk/jjwt.git
Replace duplicate code with global environment variable (#800)
This commit is contained in:
parent
7bb97fac72
commit
ed98f3d706
|
@ -6,14 +6,15 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
MVN_CMD: ./mvnw --no-transfer-progress -B
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
oracle:
|
oracle:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17' ]
|
java: [ '17' ]
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
env:
|
|
||||||
MVN_CMD: ./mvnw --no-transfer-progress -B
|
|
||||||
name: jdk-${{ matrix.java }}-oracle
|
name: jdk-${{ matrix.java }}-oracle
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -31,8 +32,6 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '8', '11', '17', '18' ]
|
java: [ '8', '11', '17', '18' ]
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
env:
|
|
||||||
MVN_CMD: ./mvnw --no-transfer-progress -B
|
|
||||||
name: jdk-${{ matrix.java }}-temurin
|
name: jdk-${{ matrix.java }}-temurin
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -54,7 +53,6 @@ jobs:
|
||||||
java: [ '7', '8', '9', '11', '12', '13', '14', '15', '16', '17', '18' ]
|
java: [ '7', '8', '9', '11', '12', '13', '14', '15', '16', '17', '18' ]
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
env:
|
env:
|
||||||
MVN_CMD: ./mvnw --no-transfer-progress -B
|
|
||||||
JDK_MAJOR_VERSION: ${{ matrix.java }}
|
JDK_MAJOR_VERSION: ${{ matrix.java }}
|
||||||
name: jdk-${{ matrix.java }}-zulu
|
name: jdk-${{ matrix.java }}-zulu
|
||||||
steps:
|
steps:
|
||||||
|
@ -76,8 +74,6 @@ jobs:
|
||||||
# ensure all of our files have the correct/updated license header
|
# ensure all of our files have the correct/updated license header
|
||||||
license-check:
|
license-check:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
env:
|
|
||||||
MVN_CMD: ./mvnw --no-transfer-progress -B
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -99,8 +95,6 @@ jobs:
|
||||||
# as it may be better to use instead of an artificial delay once we no longer need to build on JDK 7):
|
# as it may be better to use instead of an artificial delay once we no longer need to build on JDK 7):
|
||||||
#needs: zulu # wait until others finish so a coverage failure doesn't cancel others accidentally
|
#needs: zulu # wait until others finish so a coverage failure doesn't cancel others accidentally
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
env:
|
|
||||||
MVN_CMD: ./mvnw --no-transfer-progress -B
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
|
|
Loading…
Reference in New Issue