-
-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (32 loc) · 912 Bytes
/
npm.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
name: UPM on npmjs.com
on:
release:
types: [created]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- run: ./download-binaries.sh v1.16.3
- run: npm publish
working-directory: com.github.asus4.onnxruntime
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm publish
working-directory: com.github.asus4.onnxruntime.unity
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm publish
working-directory: com.github.asus4.onnxruntime.linux-x64-gpu
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm publish
working-directory: com.github.asus4.onnxruntime.win-x64-gpu
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}