Skip to content

Commit 447cf34

Browse files
committed
chores: remove goreleaser
Signed-off-by: 佑祎 <[email protected]>
1 parent 03dc1d8 commit 447cf34

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,4 @@ jobs:
5555
${{ env.ALIYUN_BJ_REG }}/${{ github.repository_owner }}/${{ matrix.target }}:${{ github.ref_name }}
5656
${{ env.ALIYUN_HZ_REG }}/${{ github.repository_owner }}/${{ matrix.target }}:${{ github.ref_name }}
5757
cache-from: type=gha,scope=build-${{ matrix.target }}
58-
cache-to: type=gha,mode=max,scope=build-${{ matrix.target }}
59-
goreleaser:
60-
runs-on: ubuntu-latest
61-
env:
62-
ALIYUN_BJ_REG: registry.cn-beijing.aliyuncs.com
63-
ALIYUN_HZ_REG: registry.cn-hangzhou.aliyuncs.com
64-
steps:
65-
- name: Checkout
66-
uses: actions/checkout@v4
67-
with:
68-
fetch-depth: 0
69-
- name: Fetch all tags
70-
run: git fetch --force --tags
71-
- name: Set up Go
72-
uses: actions/setup-go@v4
73-
with:
74-
cache: false
75-
go-version-file: go.mod
76-
- name: Run GoReleaser
77-
uses: goreleaser/goreleaser-action@v5
78-
with:
79-
distribution: goreleaser
80-
version: latest
81-
args: release --rm-dist
82-
env:
83-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
cache-to: type=gha,mode=max,scope=build-${{ matrix.target }}

0 commit comments

Comments
 (0)