Skip to content

Commit

Permalink
Merge pull request #116 from WillAbides/tools
Browse files Browse the repository at this point in the history
update release workflow
  • Loading branch information
WillAbides authored Mar 12, 2023
2 parents d199477 + 9a183b6 commit c7998fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: WillAbides/setup-go-faster@v1
id: setup-go
with:
go-version: '1.20.x'
- uses: actions/cache@v3
with:
path: |
${{ steps.setup-go.outputs.GOCACHE }}
${{ steps.setup-go.outputs.GOMODCACHE }}
key: ${{ runner.os }}-release-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-release
- run: script/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ builds:
- windows
env:
- CGO_ENABLED=0
archives:
archives: []
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit c7998fc

Please sign in to comment.