chore: goreleaser not building PRs

This commit is contained in:
Enrico Stahn 2022-03-30 21:51:55 +11:00 committed by GitHub
parent 14076ae550
commit c30d0b37d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,9 +58,6 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2.3.4
- name: Unshallow
run: git fetch --prune --unshallow
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2.1.4 uses: actions/setup-go@v2.1.4
with: with:
@ -68,10 +65,10 @@ jobs:
id: go id: go
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2.8.1 uses: goreleaser/goreleaser-action@v2.9.1
with: with:
version: latest version: latest
args: release --rm-dist --skip-validate --skip-publish args: release --rm-dist --snapshot
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}