Skip to content

Commit

Permalink
fix(workflow): modified release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nilotpaul committed Nov 26, 2024
1 parent 955cf43 commit 15a54f9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ permissions:
jobs:
goreleaser:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.23.x' ]

steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
uses: goreleaser/goreleaser-action@v5.0.0
with:

distribution: goreleaser
# 'latest', 'nightly', or a semver
version: '~> v0'
args: release
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
workdir: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 15a54f9

Please sign in to comment.