Skip to content

Commit

Permalink
Adding change
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmalbrecht committed May 3, 2024
1 parent a8547d2 commit 1164e58
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ jobs:
name: Build and release
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go 1.20.11
uses: actions/setup-go@v5
with:
go-version: 1.20.11
- name: Set up Go 1.20.11
uses: actions/setup-go@v5
with:
go-version: 1.20.11

- name: Run release
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: ${{ github.ref_name }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run release
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: ${{ github.ref_name }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1164e58

Please sign in to comment.