File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - name : Get tag version
13- if : startsWith(github.ref, 'refs/tags/')
14- id : get_tag_version
15- run : echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//}
12+ - uses : actions/checkout@v3
1613
1714 - uses : denoland/setup-deno@v1
1815 with :
@@ -23,11 +20,16 @@ jobs:
2320 node-version : " 18.x"
2421 registry-url : " https://registry.npmjs.org"
2522
23+ - name : Get tag version
24+ if : startsWith(github.ref, 'refs/tags/')
25+ id : get_tag_version
26+ run : echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//}
27+
2628 - name : npm build
27- run : deno run -A .. /scripts/build.ts ${{steps.get_tag_version.outputs.TAG_VERSION}}
29+ run : deno run -A ./scripts/build.ts ${{steps.get_tag_version.outputs.TAG_VERSION}}
2830
2931 - name : npm publish
3032 if : startsWith(github.ref, 'refs/tags/')
3133 env :
3234 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
33- run : cd npm && npm publish
35+ run : cd dist && npm publish
You can’t perform that action at this time.
0 commit comments