Skip to content

Commit 5be5b7a

Browse files
committed
chore: add write permissions to publish job
1 parent a88816f commit 5be5b7a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
types: [created]
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
packages: write
11+
812
jobs:
913
build:
1014
uses: ./.github/workflows/build.yml
@@ -28,7 +32,7 @@ jobs:
2832
runs-on: ubuntu-latest
2933
steps:
3034
- name: Download build artifacts
31-
uses: actions/download-artifact@v3
35+
uses: actions/download-artifact@v4
3236
with:
3337
name: dist
3438
path: dist/

0 commit comments

Comments
 (0)