Skip to content

Commit 2479649

Browse files
committed
CI snapcraft
1 parent 7a8fae0 commit 2479649

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
permissions:
10+
contents: write
11+
packages: write
12+
attestations: write
13+
id-token: write
14+
915
jobs:
1016
server-go:
1117
runs-on: ubuntu-latest
@@ -51,4 +57,7 @@ jobs:
5157
uses: actions/upload-artifact@v4
5258
with:
5359
name: goreleaser-dist
54-
path: dist/*
60+
path: dist/*
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

0 commit comments

Comments
 (0)