From a0474fe3b22555da9012cb2644cc58ffaadd8977 Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Tue, 18 Oct 2022 16:19:18 +0200 Subject: [PATCH] Migrate away from set-output --- .github/workflows/maven.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 985575f5..40db89e2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,12 +26,12 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml - 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 - name: 'Upload Artifact' uses: actions/upload-artifact@v3 if: ${{ matrix.java == '8' }} with: - name: Bytecode-Viewer-${{ steps.project.outputs.version }}-SNAPSHOT - path: target/Bytecode-Viewer-${{ steps.project.outputs.version }}.jar + name: Bytecode-Viewer-${{ env.bcv_version }}-SNAPSHOT + path: target/Bytecode-Viewer-${{ env.bcv_version }}.jar retention-days: 90