Update GitHub Actions
This commit is contained in:
parent
c3d94e4235
commit
78ec389622
1 changed files with 3 additions and 3 deletions
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
|
@ -17,9 +17,9 @@ jobs:
|
||||||
java: [ '8', '11', '17' ] # LTS versions
|
java: [ '8', '11', '17' ] # LTS versions
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK ${{ matrix.java }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
run: echo ::set-output name=version::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
run: echo ::set-output name=version::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
||||||
id: project
|
id: project
|
||||||
- name: 'Upload Artifact'
|
- name: 'Upload Artifact'
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ matrix.java == '8' }}
|
if: ${{ matrix.java == '8' }}
|
||||||
with:
|
with:
|
||||||
name: Bytecode-Viewer-${{ steps.project.outputs.version }}-SNAPSHOT
|
name: Bytecode-Viewer-${{ steps.project.outputs.version }}-SNAPSHOT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue