Skip to content

Commit f69b1a0

Browse files
authored
Merge pull request #19 from asus4/npm-workflow
Add GitHub Actions to publish on NPM
2 parents 9048572 + 4c7bd2c commit f69b1a0

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/main.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: UPM on npsjs.com
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
11+
with:
12+
registry-url: 'https://registry.npmjs.org'
13+
- run: npm publish
14+
working-directory: Packages/com.koki-ibukuro.arkitstream
15+
env:
16+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Packages/com.koki-ibukuro.arkitstream/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"license": "SEE LICENSE IN LICENSE",
1919
"unity": "2020.3",
2020
"unityRelease": "11f1",
21-
"version": "0.5.0",
21+
"version": "0.5.1",
2222
"type": "library",
2323
"hideInEditor": false
2424
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Open the file `Packages/manifest.json` and add following lines into `scopedRegis
5353
}
5454
],
5555
"dependencies": {
56-
"com.koki-ibukuro.arkitstream": "0.5.0",
56+
"com.koki-ibukuro.arkitstream": "0.5.1",
5757
...// other dependencies
5858
}
5959
}

0 commit comments

Comments
 (0)