Skip to content

Commit

Permalink
Merge pull request #50 from thin-edge/ci-update-release-gha
Browse files Browse the repository at this point in the history
ci: update release workflow gha
  • Loading branch information
reubenmiller authored Sep 28, 2024
2 parents c1a394e + f4f8939 commit 93a90d6
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 93a90d6

Please sign in to comment.