Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s008nyx authored Apr 25, 2021
1 parent 3d513a5 commit ef96911
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@ on:
- v*

jobs:
release:
name: Release on GitHub
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1

- name: Validates GO releaser config
uses: docker://goreleaser/goreleaser:latest
-
name: Checkout
uses: actions/checkout@v2
with:
args: check

- name: Create release on GitHub
uses: docker://goreleaser/goreleaser:latest
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
args: release
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ef96911

Please sign in to comment.