File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Create UPM branches and run NPM publish
2+
3+ on :
4+ push :
5+ tags :
6+ - v*
7+
8+ jobs :
9+ update :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Tag name
18+ id : tag
19+ run : echo ::set-output name=name::${GITHUB_REF#refs/tags/v}
20+
21+ - name : Create UPM Branch
22+ uses : hecomi/create-upm-branch-action@main
23+ with :
24+ git-tag : ${{ steps.tag.outputs.name }}
25+ pkg-root-dir-path : Assets/uDesktopDuplication
26+ main-branch : master
27+
28+ - name : Setup node
29+ uses : actions/setup-node@v2
30+ with :
31+ registry-url : ' https://registry.npmjs.org'
32+
33+ - name : NPM publish
34+ run : npm publish --access public
35+ env :
36+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments