Skip to content

Commit b3e82a8

Browse files
author
Qingping Hou
committed
fix release job
1 parent 5ceb714 commit b3e82a8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,22 @@ jobs:
3030
name: Release
3131
if: startsWith(github.ref, 'refs/tags/')
3232
runs-on: ubuntu-latest
33+
needs: test
3334
steps:
3435

36+
- name: Check out code into the Go module directory
37+
uses: actions/checkout@v2
38+
39+
# required for the changelog to work correctly
40+
- name: Unshallow
41+
run: git fetch --prune --unshallow
42+
43+
- name: Set up Go
44+
uses: actions/setup-go@v1
45+
with:
46+
go-version: 1.14
47+
id: go
48+
3549
- name: Run goreleaser
3650
uses: goreleaser/goreleaser-action@v1
3751
with:

0 commit comments

Comments
 (0)