Skip to content

Commit 093ad7f

Browse files
committed
chore: Improve MSI release workflow
1 parent c1fc7c1 commit 093ad7f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release-msi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
inputs:
1010
tag:
1111
required: true
12-
description: 'Tag to Rebuild MSI'
13-
version:
14-
description: 'Version of Rebuild MSI'
12+
description: 'Tag of nushell/nushell'
13+
release:
14+
description: 'Release Tag of Integrations'
1515

1616
permissions:
1717
contents: write
@@ -67,14 +67,14 @@ jobs:
6767
OS: ${{ matrix.os }}
6868
REF: ${{ inputs.tag }}
6969
TARGET: ${{ matrix.target }}
70-
MSI_VERSION: ${{ inputs.version }}
70+
MSI_VERSION: ${{ inputs.tag }}
7171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7272

7373
# REF: https://github.com/marketplace/actions/gh-release
7474
- name: Publish Archive
7575
uses: softprops/action-gh-release@v2.0.5
7676
with:
77-
tag_name: v${{ inputs.tag }}
77+
tag_name: ${{ inputs.release }}
7878
files: ${{ steps.nu.outputs.msi }}
7979
env:
8080
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -88,7 +88,7 @@ jobs:
8888
env:
8989
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9090
run: >-
91-
gh release download v${{ inputs.tag }}
91+
gh release download ${{ inputs.release }}
9292
--repo ${{ github.repository }}
9393
--pattern '*'
9494
--dir release
@@ -98,6 +98,6 @@ jobs:
9898
uses: softprops/action-gh-release@v2.0.5
9999
with:
100100
files: SHA256SUMS
101-
tag_name: v${{ inputs.tag }}
101+
tag_name: ${{ inputs.release }}
102102
env:
103103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)