mirror of
https://github.com/sern-handler/cli
synced 2026-06-28 02:32:20 +00:00
ci(release): tryna fix release ci (#34)
* ci(release): try to fix the workflow * chore: add actions branch * chore: hmm * chore(release): yeah
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -5,9 +5,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- go_rewrite
|
||||
pull_request_target:
|
||||
branches:
|
||||
- main
|
||||
- actions
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -28,14 +26,12 @@ jobs:
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.18
|
||||
id: go
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
# either 'goreleaser' (default) or 'goreleaser-pro'
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
|
||||
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|
||||
|
||||
@@ -6,3 +6,4 @@ builds:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
main: ./cmd
|
||||
|
||||
Reference in New Issue
Block a user