Skip to content

Commit

Permalink
CI: release - Fix YAML formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoolGuy committed Sep 24, 2024
1 parent 056b1ae commit 7040484
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
tags:
- 'v*'

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -52,7 +55,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser (draft)
uses: goreleaser/goreleaser-action@v6
if: !startsWith(github.ref, 'refs/tags/')
if: "!startsWith(github.ref, 'refs/tags/')"
with:
version: latest
args: release --snapshot --clean
Expand Down

0 comments on commit 7040484

Please sign in to comment.