Skip to content

Commit a9c5208

Browse files
committed
ci: test passing github pat
1 parent f87455a commit a9c5208

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ on:
5050
jobs:
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 }}
@@ -96,9 +98,7 @@ jobs:
9698
9799
- name: Setup Capacitor
98100
run: |
99-
bun link
100101
cd example/IonicCapOneSignal
101-
bun install --frozen-lockfile
102102
bun run build
103103
104104
- name: Update Android SDK version

example/IonicCapOneSignal/scripts/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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
1010
cd 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
1418
tsc && vite build

0 commit comments

Comments
 (0)