Skip to content

Commit

Permalink
fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
Qingping Hou committed Mar 3, 2020
1 parent 5ceb714 commit b3e82a8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,22 @@ jobs:
name: Release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: test
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v2

# required for the changelog to work correctly
- name: Unshallow
run: git fetch --prune --unshallow

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.14
id: go

- name: Run goreleaser
uses: goreleaser/goreleaser-action@v1
with:
Expand Down

0 comments on commit b3e82a8

Please sign in to comment.