Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit f23d46d

Browse files
author
Mrinal Wahal
committed
Fixed release asset download URL
2 parents cb76c75 + 9b3ebbb commit f23d46d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ jobs:
2525
- goarch: arm64
2626
goos: windows
2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v2.3.4
2929

3030
- name: Set VERSION env
3131
run: |
3232
echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
3333
echo $(basename ${GITHUB_REF})
3434
3535
- name: Generate Binary
36-
uses: wangyoucao577/go-release-action@v1.18
36+
uses: wangyoucao577/go-release-action@v1.20
3737
with:
38+
overwrite: true
3839
github_token: ${{ secrets.GITHUB_TOKEN }}
3940
goos: ${{ matrix.goos }}
4041
goarch: ${{ matrix.goarch }}

nhost/nhost.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (release *Release) Asset() Asset {
140140

141141
log.Debug("Extracting asset from release")
142142

143-
payload := []string{"nhost", release.TagName, runtime.GOOS, runtime.GOARCH}
143+
payload := []string{"cli", release.TagName, runtime.GOOS, runtime.GOARCH}
144144

145145
var response Asset
146146

0 commit comments

Comments
 (0)