Skip to content

Commit

Permalink
add snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleader committed Feb 7, 2024
1 parent 5c3816c commit 09934a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,16 @@ jobs:
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and/or release
- name: Build or release
uses: goreleaser/goreleaser-action@v5
if:
with:
distribution: goreleaser
version: latest
args: ${{ env.goreleaser_args }}
args: ${{ env.ARGS }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ARGS: $${{ startsWith(github.event.ref, 'refs/tags/') && 'release --clean' || 'build --snapshot' }}

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 09934a8

Please sign in to comment.