Skip to content

Commit 8d4e497

Browse files
authored
fix(ci): goreleaser is working now (#3)
* fix(ci): add GITHUB_TOKEN * chore(ci): add .goreleaser * fix(ci): add write permissions
1 parent f3651e7 commit 8d4e497

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/release-binary.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Release Binaries
22

3+
permissions:
4+
contents: write
5+
36
on:
47
release:
58
types: [ published ]
@@ -28,3 +31,5 @@ jobs:
2831
workdir: ${{ env.working-directory }}
2932
version: 1.13.0
3033
args: release --rm-dist
34+
env:
35+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.goreleaser.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
project_name: supernova
2+
builds:
3+
- main: ./cmd
4+
goos:
5+
- linux
6+
- darwin
7+
goarch:
8+
- amd64
9+
- arm64

0 commit comments

Comments
 (0)