Skip to content

Commit 204f56a

Browse files
committed
Add private key to gh actions config
Signed-off-by: Jacek Ciwiś <jacek.ciwis@gmail.com>
1 parent fdf74c5 commit 204f56a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/release.yaml

+6-9
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,25 @@ name: goreleaser
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
1111
steps:
12-
-
13-
name: Checkout
12+
- name: Checkout
1413
uses: actions/checkout@v2
15-
-
16-
name: Unshallow
14+
- name: Unshallow
1715
run: git fetch --prune --unshallow
18-
-
19-
name: Set up Go
16+
- name: Set up Go
2017
uses: actions/setup-go@v1
2118
with:
2219
go-version: 1.14.x
23-
-
24-
name: Run GoReleaser
20+
- name: Run GoReleaser
2521
uses: goreleaser/goreleaser-action@v1
2622
with:
2723
version: latest
2824
args: release --rm-dist
25+
key: ${{ secrets.PRIVATE_KEY }}
2926
env:
3027
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)