File tree Expand file tree Collapse file tree 6 files changed +20
-20
lines changed
com.github.asus4.mediapipe
com.github.asus4.tflite.common Expand file tree Collapse file tree 6 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 55 workflow_dispatch :
66env :
77 # Dry-run on workflow_dispatch
8- NPM_OPTS : ${{ github.event_name == 'workflow_dispatch' && '--dry-run' || '' }}
8+ NPM_OPTS : ${{ github.event_name == 'workflow_dispatch' && '--dry-run --tag canary' || '' }}
9+ permissions :
10+ id-token : write
11+ contents : read
912jobs :
1013 publish :
1114 runs-on : ubuntu-latest
1215 steps :
1316 - uses : actions/checkout@v4
1417 with :
1518 lfs : true
16- - uses : actions/setup-node@v4
19+ - uses : actions/setup-node@v5
1720 with :
21+ node-version : ' latest'
1822 registry-url : ' https://registry.npmjs.org'
23+ # Publish NPM using OIDC token
24+ - run : npm install -g npm@latest
1925 - run : npm publish ${{ env.NPM_OPTS }}
2026 working-directory : Packages/com.github.asus4.tflite
21- env :
22- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
2327 - run : npm publish ${{ env.NPM_OPTS }}
2428 working-directory : Packages/com.github.asus4.tflite.common
25- env :
26- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
2729 - run : npm publish ${{ env.NPM_OPTS }}
2830 working-directory : Packages/com.github.asus4.mediapipe
29- env :
30- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 1010 "license" : " Apache License 2.0" ,
1111 "unity" : " 2022.3" ,
1212 "unityRelease" : " 0f1" ,
13- "version" : " 2.19.0-p2 " ,
13+ "version" : " 2.19.0-p3 " ,
1414 "hideInEditor" : false ,
1515 "dependencies" : {
16- "com.github.asus4.tflite" : " 2.19.0-p2 " ,
17- "com.github.asus4.tflite.common" : " 2.19.0-p2 "
16+ "com.github.asus4.tflite" : " 2.19.0-p3 " ,
17+ "com.github.asus4.tflite.common" : " 2.19.0-p3 "
1818 },
1919 "documentationUrl" : " https://github.com/asus4/tf-lite-unity-sample" ,
2020 "changelogUrl" : " https://github.com/asus4/tf-lite-unity-sample/releases" ,
Original file line number Diff line number Diff line change 99 "license" : " Apache License 2.0" ,
1010 "unity" : " 2022.3" ,
1111 "unityRelease" : " 0f1" ,
12- "version" : " 2.19.0-p2 " ,
12+ "version" : " 2.19.0-p3 " ,
1313 "hideInEditor" : false ,
1414 "dependencies" : {
1515 "com.unity.burst" : " 1.8.12" ,
16- "com.github.asus4.tflite" : " 2.19.0-p2 "
16+ "com.github.asus4.tflite" : " 2.19.0-p3 "
1717 },
1818 "repository" : {
1919 "type" : " git" ,
Original file line number Diff line number Diff line change 99 "license" : " Apache License 2.0" ,
1010 "unity" : " 2022.3" ,
1111 "unityRelease" : " 0f1" ,
12- "version" : " 2.19.0-p2 " ,
12+ "version" : " 2.19.0-p3 " ,
1313 "hideInEditor" : false ,
1414 "repository" : {
1515 "type" : " git" ,
Original file line number Diff line number Diff line change 1212 "depth" : 0 ,
1313 "source" : " embedded" ,
1414 "dependencies" : {
15- "com.github.asus4.tflite" : " 2.19.0-p2 " ,
16- "com.github.asus4.tflite.common" : " 2.19.0-p2 "
15+ "com.github.asus4.tflite" : " 2.19.0-p3 " ,
16+ "com.github.asus4.tflite.common" : " 2.19.0-p3 "
1717 }
1818 },
1919 "com.github.asus4.texture-source" : {
3737 "source" : " embedded" ,
3838 "dependencies" : {
3939 "com.unity.burst" : " 1.8.12" ,
40- "com.github.asus4.tflite" : " 2.19.0-p2 "
40+ "com.github.asus4.tflite" : " 2.19.0-p3 "
4141 }
4242 },
4343 "com.unity.2d.sprite" : {
Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ Included prebuilt libraries:
6868 ],
6969 "dependencies" : {
7070 // Core TensorFlow Lite libraries
71- "com.github.asus4.tflite" : " 2.19.0-p2 " ,
71+ "com.github.asus4.tflite" : " 2.19.0-p3 " ,
7272 // Optional: Utilities for TFLite
73- "com.github.asus4.tflite.common" : " 2.19.0-p2 " ,
73+ "com.github.asus4.tflite.common" : " 2.19.0-p3 " ,
7474 // Optional: Utilities for MediaPipe
75- "com.github.asus4.mediapipe" : " 2.19.0-p2 " ,
75+ "com.github.asus4.mediapipe" : " 2.19.0-p3 " ,
7676 // Optional: Async methods are available only when UniTask is installed
7777 "com.cysharp.unitask" : " 2.5.10" ,
7878 ...// other dependencies
You can’t perform that action at this time.
0 commit comments