Skip to content

Commit dc52d2e

Browse files
authored
Update to manual trigger (#11)
1 parent e37e37e commit dc52d2e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/tokenizer-ts-release.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Publish @microsoft/tiktokenizer to GitHub Packages
22

3-
on:
4-
release:
5-
types: [published]
3+
on: workflow_dispatch
64

75
defaults:
86
run:
@@ -27,3 +25,7 @@ jobs:
2725
- run: npm publish --access public
2826
env:
2927
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
- uses: actions/upload-artifact@v3
29+
with:
30+
name: npm-package
31+
path: tokenizer_ts/*.tgz

0 commit comments

Comments
 (0)