From 6c3b85796a968ea59528dc38c353ab1734b95f80 Mon Sep 17 00:00:00 2001 From: swissbuechi Date: Tue, 5 Jul 2022 10:45:00 +0200 Subject: [PATCH] Changed artifact output names --- .github/workflows/deploy-native-artifact.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-native-artifact.yml b/.github/workflows/deploy-native-artifact.yml index 626a20a..2fecee3 100644 --- a/.github/workflows/deploy-native-artifact.yml +++ b/.github/workflows/deploy-native-artifact.yml @@ -5,10 +5,6 @@ on: release: types: [ published ] -env: - IMAGE_NAME: ${{ github.repository }} - IMAGE_TAG: ${{ github.ref }} - jobs: build: name: graalvm ${{ matrix.graalvm_version }} on ${{ matrix.os }} @@ -48,7 +44,7 @@ jobs: - name: Upload archive uses: actions/upload-artifact@v3 with: - name: demo-${{ matrix.os }} + name: ${{ github.event.repository.name }}-${{ github.ref_name }}-${{ matrix.asset_name }} path: target/app${{ matrix.executable-suffix }} - name: Upload binaries to release @@ -56,5 +52,5 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: target/app${{ matrix.executable-suffix }} - asset_name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_TAG }}-${{ matrix.asset_name }} - tag: ${{ env.IMAGE_TAG }} \ No newline at end of file + asset_name: ${{ github.event.repository.name }}-${{ github.ref_name }}-${{ matrix.asset_name }} + tag: ${{ github.ref }} \ No newline at end of file