Skip to content

Commit 2cbc15d

Browse files
authored
Fix artifact download (#179)
* Fix artifact download * Fix permissions for creating a tag
1 parent bb8dcdd commit 2cbc15d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ jobs:
5353
steps:
5454
- uses: actions/checkout@v2
5555
- uses: actions/download-artifact@v4
56-
with:
57-
name: prebuilds
5856
- uses: actions/setup-node@v3
5957
with:
6058
registry-url: 'https://registry.npmjs.org'

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v2
2626
- uses: actions/download-artifact@v4
27-
with:
28-
name: prebuilds
2927
- uses: actions/setup-node@v3
3028
with:
3129
registry-url: 'https://registry.npmjs.org'
3230
- run: npm install
3331
- run: npm publish
32+
33+
tag:
34+
needs: publish
35+
permissions:
36+
content: write
37+
steps:
3438
- id: pkg
3539
run: |
3640
content=`cat ./package.json | tr '\n' ' '`

0 commit comments

Comments
 (0)