Skip to content

Commit a4c1d5d

Browse files
authored
Update build pipeline #373
ref DEV-2974 ref DEV-2855
2 parents f3a096e + e4b6cb2 commit a4c1d5d

File tree

19 files changed

+3128
-3267
lines changed

19 files changed

+3128
-3267
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
jobs:
2020
test:
21-
runs-on: macos-14
21+
runs-on: macos-15
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-node@v4
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
bundler-cache: true
3030
- run: make ruby-audit
31-
- run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
31+
- run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
3232
- run: npm ci
3333
- run: npm ci
3434
working-directory: ./website
@@ -72,8 +72,8 @@ jobs:
7272
test_react_native_android:
7373
# When we change the runner image, the available Android build tools versions will also change.
7474
# We need to update build.gradle too.
75-
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
76-
runs-on: macos-14
75+
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
76+
runs-on: macos-15
7777
steps:
7878
- uses: actions/checkout@v4
7979
- uses: actions/setup-node@v4
@@ -84,7 +84,7 @@ jobs:
8484
- run: make react-native-build-unsigned-aab
8585

8686
test_capacitor_ios:
87-
runs-on: macos-14
87+
runs-on: macos-15
8888
steps:
8989
- uses: actions/checkout@v4
9090
- uses: actions/setup-node@v4
@@ -93,14 +93,14 @@ jobs:
9393
- uses: ruby/setup-ruby@v1
9494
with:
9595
bundler-cache: true
96-
- run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
96+
- run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
9797
- run: make sdk-build
9898
- run: make capacitor-npm-ci
9999
- run: make capacitor-build-js
100100
- run: make capacitor-build-ios-simulator
101101

102102
test_capacitor_android:
103-
runs-on: macos-14
103+
runs-on: macos-15
104104
steps:
105105
- uses: actions/checkout@v4
106106
- uses: actions/setup-node@v4
@@ -116,8 +116,8 @@ jobs:
116116
needs: test
117117
# When we change the runner image, the ruby version will change too.
118118
# We need to update .tool-versions to make them the same.
119-
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
120-
runs-on: macos-14
119+
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
120+
runs-on: macos-15
121121
steps:
122122
- uses: actions/checkout@v4
123123
- uses: actions/setup-node@v4
@@ -126,13 +126,14 @@ jobs:
126126
- uses: ruby/setup-ruby@v1
127127
with:
128128
bundler-cache: true
129-
- run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
129+
- run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
130130
- run: make sdk-build
131131
- run: make react-native-npm-ci
132132
- run: make react-native-pod-install
133133
- uses: authgear/gh-actions-install-apple-certificate-and-provisioning-profile@v1
134134
with:
135135
certificate_base64: ${{ secrets.REACT_NATIVE_IOS_CERTIFICATE_BASE64 }}
136+
certificate_password: ${{ secrets.REACT_NATIVE_IOS_CERTIFICATE_PASSWORD }}
136137
provisioning_profile_base64: ${{ secrets.REACT_NATIVE_IOS_PROVISIONING_PROFILE_BASE64 }}
137138
- uses: authgear/gh-actions-create-fastlane-api-key-json-file@v1
138139
with:
@@ -150,8 +151,8 @@ jobs:
150151
needs: test
151152
# When we change the runner image, the available Android build tools versions will also change.
152153
# We need to update build.gradle too.
153-
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
154-
runs-on: macos-14
154+
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
155+
runs-on: macos-15
155156
steps:
156157
- uses: actions/checkout@v4
157158
- uses: actions/setup-node@v4
@@ -184,7 +185,7 @@ jobs:
184185
capacitor_ios:
185186
if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.event_name == 'push' }}
186187
needs: test
187-
runs-on: macos-14
188+
runs-on: macos-15
188189
steps:
189190
- uses: actions/checkout@v4
190191
- uses: actions/setup-node@v4
@@ -193,14 +194,15 @@ jobs:
193194
- uses: ruby/setup-ruby@v1
194195
with:
195196
bundler-cache: true
196-
- run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
197+
- run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
197198
- run: make sdk-build
198199
- run: make capacitor-npm-ci
199200
- run: make capacitor-npm-audit
200201
- run: make capacitor-build-js
201202
- uses: authgear/gh-actions-install-apple-certificate-and-provisioning-profile@v1
202203
with:
203204
certificate_base64: ${{ secrets.CAPACITOR_IOS_CERTIFICATE_BASE64 }}
205+
certificate_password: ${{ secrets.CAPACITOR_IOS_CERTIFICATE_PASSWORD }}
204206
provisioning_profile_base64: ${{ secrets.CAPACITOR_IOS_PROVISIONING_PROFILE_BASE64 }}
205207
- uses: authgear/gh-actions-create-fastlane-api-key-json-file@v1
206208
with:
@@ -216,7 +218,7 @@ jobs:
216218
capacitor_android:
217219
if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.event_name == 'push' }}
218220
needs: test
219-
runs-on: macos-14
221+
runs-on: macos-15
220222
steps:
221223
- uses: actions/checkout@v4
222224
- uses: actions/setup-node@v4

example/capacitor/android/variables.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ ext {
33
compileSdkVersion = 35
44
targetSdkVersion = 35
55
// buildToolsVersion depends on the available build tools on the Github runner.
6-
// See https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#android
76
buildToolsVersion = "35.0.1"
87
androidxActivityVersion = '1.9.2'
98
androidxAppCompatVersion = '1.7.0'

0 commit comments

Comments
 (0)