-
Notifications
You must be signed in to change notification settings - Fork 181
59 lines (50 loc) · 1.95 KB
/
publish_nodejs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: publish nodejs package
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Download workflow artifact
uses: dawidd6/action-download-artifact@v7
with:
workflow: build.yml
branch: main
name: MAA-nodejs-package
path: assets/MAA-nodejs-package
- uses: JS-DevTools/npm-publish@v3
id: nodejs
with:
package: assets/MAA-nodejs-package/maa-node
access: public
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-win32-x64
access: public
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-win32-arm64
access: public
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-linux-x64
access: public
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-linux-arm64
access: public
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-darwin-x64
access: public
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-darwin-arm64
access: public
token: ${{ secrets.NPM_TOKEN }}