Skip to content

Commit ee638bf

Browse files
committed
fix build issue as a result of goreleaser-cross
1 parent 69ade09 commit ee638bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
id-token: write
2222
contents: write
2323
packages: write
24+
env:
25+
GORELEASER_CROSS_TAG: v1.25.1
2426
steps:
2527
- name: Setting Xipher Version
2628
run: echo "XIPHER_VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
@@ -44,10 +46,8 @@ jobs:
4446
docker run --rm \
4547
-w /workspace \
4648
-v $PWD:/workspace \
47-
-e GITHUB_TOKEN \
48-
-e HOMEBREW_SSH_KEY \
4949
--entrypoint sh \
50-
ghcr.io/goreleaser/goreleaser-cross:latest \
50+
ghcr.io/goreleaser/goreleaser-cross:${{ env.GORELEASER_CROSS_TAG }} \
5151
-c "cp \$(go env GOROOT)/lib/wasm/wasm_exec.js .ignore"
5252
- name: GoReleaser - Release Xipher
5353
run: |
@@ -56,7 +56,7 @@ jobs:
5656
-v $PWD:/workspace \
5757
-e GITHUB_TOKEN \
5858
-e HOMEBREW_SSH_KEY \
59-
ghcr.io/goreleaser/goreleaser-cross:latest \
59+
ghcr.io/goreleaser/goreleaser-cross:${{ env.GORELEASER_CROSS_TAG }} \
6060
release --clean
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)