Skip to content

Commit 8e93749

Browse files
committed
Change release action
1 parent 1a16ce8 commit 8e93749

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,21 @@ on:
1515

1616
jobs:
1717
release:
18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
artifact-file: [linux-x64.deb, macOS-x64.dmg, windows-x64.msi]
22-
2318
name: Release
2419
runs-on: ubuntu-22.04
2520

2621
steps:
22+
- uses: actions/checkout@v2
2723
- uses: dsaltares/fetch-gh-release-asset@master
2824
with:
29-
version: 'tags/$TAG'
30-
file: 'HelixNavigator-$VERSION-${{ matrix.artifact-file }}'
25+
version: 'tags/${{ inputs.tag }}'
26+
file: 'HelixNavigator-${{ inputs.version }}.*'
3127
target: 'pkgs/'
3228
token: '${{ secrets.GITHUB_TOKEN }}'
33-
env:
34-
VERSION: ${{ inputs.version }}
35-
TAG: ${{ inputs.tag }}
3629

37-
- uses: actions/create-release@latest
30+
- uses: ncipollo/release-action@v1
3831
with:
39-
tag_name: $TAG
40-
release_name: v$VERSION
32+
name: v${{ inputs.version }}
33+
artifacts: "pkgs/HelixNavigator-${{ inputs.version }}.*"
4134
draft: true
4235
prerelease: true
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
VERSION: ${{ inputs.version }}
46-
TAG: ${{ inputs.tag }}

0 commit comments

Comments
 (0)