Skip to content

Commit b936d99

Browse files
committed
ci: Only download one artifact.
1 parent 87ae418 commit b936d99

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: actions/download-artifact@v4
12-
with:
13-
github-token: ${{ secrets.GITHUB_TOKEN }}
14-
run-id: ${{ github.event.client_payload.artifacts_run_id }}
1511
- uses: actions/setup-node@v4
1612
with:
1713
node-version: '20.x'
1814
registry-url: 'https://registry.visualpinball.org'
15+
- uses: actions/download-artifact@v4
16+
with:
17+
name: Plugins
18+
path: .
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
20+
run-id: ${{ github.event.client_payload.artifacts_run_id }}
1921
- name: Publish
2022
run: npm publish
2123
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)