Migrate away from set-output
This commit is contained in:
parent
78ec389622
commit
a0474fe3b2
1 changed files with 3 additions and 3 deletions
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
|
@ -26,12 +26,12 @@ jobs:
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
- name: Extract Maven project version
|
- name: Extract Maven project version
|
||||||
run: echo ::set-output name=version::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
run: echo "bcv_version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV
|
||||||
id: project
|
id: project
|
||||||
- name: 'Upload Artifact'
|
- name: 'Upload Artifact'
|
||||||
uses: actions/upload-artifact@v3
|
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-${{ env.bcv_version }}-SNAPSHOT
|
||||||
path: target/Bytecode-Viewer-${{ steps.project.outputs.version }}.jar
|
path: target/Bytecode-Viewer-${{ env.bcv_version }}.jar
|
||||||
retention-days: 90
|
retention-days: 90
|
||||||
|
|
Loading…
Reference in a new issue