Skip to content

Commit 8ebb7f9

Browse files
committed
Fix release
1 parent 716fc56 commit 8ebb7f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Build release assets
5555
run: |
5656
$(go env GOPATH)/bin/gox \
57-
-output='build/gocat-${{ tag.outputs.TAG }}-{{ .OS }}-{{ .Arch }}' \
57+
-output='build/gocat-${{ steps.tag.outputs.TAG }}-{{ .OS }}-{{ .Arch }}' \
5858
-arch='amd64' \
5959
-os='linux darwin' \
6060
-verbose \
@@ -78,8 +78,8 @@ jobs:
7878
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7979
with:
8080
upload_url: ${{ steps.create_release.outputs.upload_url }}
81-
asset_path: ./build/gocat-${{ tag.outputs.TAG }}-darwin-amd64
82-
asset_name: gocat-${{ tag.outputs.TAG }}-darwin-amd64
81+
asset_path: ./build/gocat-${{ steps.tag.outputs.TAG }}-darwin-amd64
82+
asset_name: gocat-${{ steps.tag.outputs.TAG }}-darwin-amd64
8383
asset_content_type: application/octet-stream
8484

8585
# TODO: Replace with glob pattern once `actions/upload-release-asset` supports it
@@ -88,6 +88,6 @@ jobs:
8888
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8989
with:
9090
upload_url: ${{ steps.create_release.outputs.upload_url }}
91-
asset_path: ./build/gocat-${{ tag.outputs.TAG }}-linux-amd64
92-
asset_name: gocat-${{ tag.outputs.TAG }}-linux-amd64
91+
asset_path: ./build/gocat-${{ steps.tag.outputs.TAG }}-linux-amd64
92+
asset_name: gocat-${{ steps.tag.outputs.TAG }}-linux-amd64
9393
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)