Skip to content

Commit

Permalink
ci: update release workflow gha
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Sep 28, 2024
1 parent c1a394e commit f4f8939
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: extractions/setup-just@v1
- uses: extractions/setup-just@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.0'
go-version: 'stable'
cache: false
- run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
name: Install dependencies
- name: Set version
Expand All @@ -34,7 +35,7 @@ jobs:
SEMVER: ${{ env.RELEASE_VERSION }}

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f4f8939

Please sign in to comment.