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:
Evo
2022-06-02 10:09:29 +05:30
committed by GitHub
parent 57c928240b
commit 5211ce1c7b
2 changed files with 4 additions and 7 deletions

View File

@@ -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 }}

View File

@@ -6,3 +6,4 @@ builds:
- linux
goarch:
- amd64
main: ./cmd