File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def build-msi [] {
13
13
let target = $env .TARGET
14
14
# We should read the version from the environment variable first
15
15
# As we may build the MSI package for a specific version not the latest one
16
- let version = $env .MSI_VERSION ? | default ( open Cargo.toml | get package.version )
16
+ let version = $env .MSI_VERSION
17
17
let arch = if $nu .os-info.arch =~ ' x86_64' { ' x64' } else { ' arm64' }
18
18
19
19
print $' Building msi package for (ansi g )($target )(ansi reset ) with version (ansi g )($version )(ansi reset ) from tag (ansi g )($env .REF )(ansi reset )...'
Original file line number Diff line number Diff line change 74
74
- name : Publish Archive
75
75
uses : softprops/action-gh-release@v2.0.5
76
76
with :
77
- tag_name : ${{ inputs.tag }}
77
+ tag_name : v ${{ inputs.tag }}
78
78
files : ${{ steps.nu.outputs.msi }}
79
79
env :
80
80
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88
88
env :
89
89
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90
90
run : >-
91
- gh release download ${{ inputs.tag }}
91
+ gh release download v ${{ inputs.tag }}
92
92
--repo ${{ github.repository }}
93
93
--pattern '*'
94
94
--dir release
98
98
uses : softprops/action-gh-release@v2.0.5
99
99
with :
100
100
files : SHA256SUMS
101
- tag_name : ${{ inputs.tag }}
101
+ tag_name : v ${{ inputs.tag }}
102
102
env :
103
103
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments