Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Changed artifact output names
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbuechi committed Jul 5, 2022
1 parent 1216a2d commit 6c3b857
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy-native-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -48,13 +44,13 @@ 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
uses: svenstaro/upload-release-action@v2
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 }}
asset_name: ${{ github.event.repository.name }}-${{ github.ref_name }}-${{ matrix.asset_name }}
tag: ${{ github.ref }}

0 comments on commit 6c3b857

Please sign in to comment.