Skip to content

Commit 6fcff0a

Browse files
committed
fix: set ref correctly in workflow
1 parent 2a1c04a commit 6fcff0a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222
uses: actions/setup-go@v2
2323
with:
2424
go-version: 1.19
25-
- name: Get tag name
26-
id: get_tag
27-
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
2825
-
2926
name: Run GoReleaser
3027
uses: goreleaser/goreleaser-action@v2
@@ -35,5 +32,6 @@ jobs:
3532
args: release --rm-dist
3633
env:
3734
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
TAG: ${{github.ref_name}}
3836
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
3937
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 commit comments

Comments
 (0)