Update GitHub Actions
This commit is contained in:
parent
c3d94e4235
commit
78ec389622
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
|
@ -17,9 +17,9 @@ jobs:
|
|||
java: [ '8', '11', '17' ] # LTS versions
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK ${{ matrix.java }}
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
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)
|
||||
id: project
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ matrix.java == '8' }}
|
||||
with:
|
||||
name: Bytecode-Viewer-${{ steps.project.outputs.version }}-SNAPSHOT
|
||||
|
|
Loading…
Reference in New Issue
Block a user