File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
example/IonicCapOneSignal/scripts Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 5050jobs :
5151 prep :
5252 uses : OneSignal/sdk-actions/.github/workflows/prep-release.yml@main
53+ secrets :
54+ GH_PUSH_TOKEN : ${{ secrets.GH_PUSH_TOKEN }}
5355 with :
5456 target_repo : OneSignal/OneSignal-Cordova-SDK
5557 version : ${{ inputs.cordova_version }}
6971 with :
7072 repository : OneSignal/OneSignal-Cordova-SDK
7173 ref : ${{ needs.prep.outputs.release_branch }}
74+ token : ${{ secrets.GH_PUSH_TOKEN || github.token }}
7275
7376 - name : Setup Bun
7477 uses : oven-sh/setup-bun@v2
9699
97100 - name : Setup Capacitor
98101 run : |
99- bun link
100102 cd example/IonicCapOneSignal
101- bun install --frozen-lockfile
102103 bun run build
103104
104105 - name : Update Android SDK version
@@ -182,6 +183,8 @@ jobs:
182183 create-pr :
183184 needs : [prep, update-version]
184185 uses : OneSignal/sdk-actions/.github/workflows/create-release.yml@main
186+ secrets :
187+ GH_PUSH_TOKEN : ${{ secrets.GH_PUSH_TOKEN }}
185188 with :
186189 target_repo : OneSignal/OneSignal-Cordova-SDK
187190 release_branch : ${{ needs.prep.outputs.release_branch }}
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ mv onesignal-cordova-plugin-*.tgz onesignal-cordova-plugin.tgz
88
99# Install/update the plugin in the example app
1010cd example/IonicCapOneSignal
11- bun i
11+ if [ -n " $CI " ]; then
12+ bun install --frozen-lockfile
13+ else
14+ bun i
15+ fi
1216
1317# Build example
1418tsc && vite build
You can’t perform that action at this time.
0 commit comments