Skip to content

Commit

Permalink
Merge pull request #19 from asus4/npm-workflow
Browse files Browse the repository at this point in the history
Add GitHub Actions to publish on NPM
  • Loading branch information
asus4 authored May 9, 2022
2 parents 9048572 + 4c7bd2c commit f69b1a0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: UPM on npsjs.com
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- run: npm publish
working-directory: Packages/com.koki-ibukuro.arkitstream
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion Packages/com.koki-ibukuro.arkitstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "SEE LICENSE IN LICENSE",
"unity": "2020.3",
"unityRelease": "11f1",
"version": "0.5.0",
"version": "0.5.1",
"type": "library",
"hideInEditor": false
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Open the file `Packages/manifest.json` and add following lines into `scopedRegis
}
],
"dependencies": {
"com.koki-ibukuro.arkitstream": "0.5.0",
"com.koki-ibukuro.arkitstream": "0.5.1",
...// other dependencies
}
}
Expand Down

0 comments on commit f69b1a0

Please sign in to comment.