Explicitly pass GITHUB_TOKEN env to goreleaser action (#1215)
* Explicitly pass GITHUB_TOKEN env to goreleaser action * Update the goreleaser-action and setup-go actions to v2
This commit is contained in:
parent
761038782a
commit
d287af010a
7
.github/workflows/tag.yml
vendored
7
.github/workflows/tag.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v1
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.14
|
||||
- name: Unshallow
|
||||
@ -20,6 +20,9 @@ jobs:
|
||||
- name: Login do docker.io
|
||||
run: docker login -u golangci -p ${{ secrets.GOLANGCI_LINT_DOCKER_TOKEN }}
|
||||
- name: Create release
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user