Skip to content

Commit 4c1a7ad

Browse files
committed
chore: fix GH_TOKEN
1 parent 334dbc0 commit 4c1a7ad

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ jobs:
5858
- name: Make
5959
run: make
6060

61+
# https://goreleaser.com/ci/actions/
62+
- name: Run GoReleaser
63+
uses: goreleaser/goreleaser-action@v2
64+
if: startsWith(github.ref, 'refs/tags/v')
65+
with:
66+
version: latest
67+
args: release --rm-dist
68+
env:
69+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
6171
# Install Docker image multi-arch builder
6272
- name: Install seihon ${{ env.SEIHON_VERSION }}
6373
if: startsWith(github.ref, 'refs/tags/v')
@@ -76,13 +86,3 @@ jobs:
7686
- name: Deploy Docker Images (seihon)
7787
if: startsWith(github.ref, 'refs/tags/v')
7888
run: make publish-images
79-
80-
# https://goreleaser.com/ci/actions/
81-
- name: Run GoReleaser
82-
uses: goreleaser/goreleaser-action@v2
83-
if: startsWith(github.ref, 'refs/tags/v')
84-
with:
85-
version: latest
86-
args: release --rm-dist
87-
env:
88-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)