Skip to content

Commit 9ecc198

Browse files
authored
chore: Upgrade packages to latest stable versions (#3959)
chore: Upgrade packages to latest
1 parent 3ef5f34 commit 9ecc198

32 files changed

Lines changed: 2459 additions & 839 deletions

File tree

.github/workflows/build-android-release.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
paths:
88
- '.github/workflows/build-android-release.yml'
99

10+
permissions:
11+
contents: write
12+
1013
jobs:
1114
build_release:
1215
name: Build Android Example App (release, new architecture)
@@ -30,15 +33,19 @@ jobs:
3033
run: |
3134
./gradlew clean :app:assembleRelease --no-daemon --no-build-cache
3235
36+
- name: Upload APK artifact
37+
if: ${{ github.event_name == 'pull_request' }}
38+
uses: actions/upload-artifact@v7
39+
with:
40+
name: SimpleCamera-Release-Android
41+
path: apps/simple-camera/android/app/build/outputs/apk/release/app-release.apk
42+
retention-days: 7
43+
3344
- name: Upload APK to Release
34-
uses: actions/upload-release-asset@v1
45+
if: ${{ github.event_name == 'release' }}
3546
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
with:
38-
upload_url: ${{ github.event.release.upload_url }}
39-
asset_path: apps/simple-camera/android/app/build/outputs/apk/release/app-release.apk
40-
asset_name: "SimpleCamera-${{ github.event.release.tag_name }}.apk"
41-
asset_content_type: application/vnd.android.package-archive
47+
GH_TOKEN: ${{ github.token }}
48+
run: gh release upload "${GITHUB_REF_NAME}" "apps/simple-camera/android/app/build/outputs/apk/release/app-release.apk#SimpleCamera-${GITHUB_REF_NAME}.apk" --clobber
4249

4350
- name: Stop Gradle Daemon
4451
working-directory: apps/simple-camera/android

.github/workflows/build-ios-release.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
paths:
88
- '.github/workflows/build-ios-release.yml'
99

10+
permissions:
11+
contents: write
12+
1013
jobs:
1114
build_release:
1215
name: Build iOS Example App (release, new architecture)
@@ -21,7 +24,7 @@ jobs:
2124
- name: Setup Ruby (bundle)
2225
uses: ruby/setup-ruby@v1
2326
with:
24-
ruby-version: 2.7.2
27+
ruby-version: 3.4.9
2528
bundler-cache: true
2629
working-directory: apps/simple-camera
2730

@@ -53,12 +56,16 @@ jobs:
5356
cd apps/simple-camera/ios/build/Build/Products/Release-iphonesimulator
5457
zip -r ../../../../../../../SimpleCamera-Release-Simulator.zip SimpleCamera.app
5558
59+
- name: Upload .app artifact
60+
if: ${{ github.event_name == 'pull_request' }}
61+
uses: actions/upload-artifact@v7
62+
with:
63+
name: SimpleCamera-Release-Simulator
64+
path: SimpleCamera-Release-Simulator.zip
65+
retention-days: 7
66+
5667
- name: Upload .app to Release
57-
uses: actions/upload-release-asset@v1
68+
if: ${{ github.event_name == 'release' }}
5869
env:
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
with:
61-
upload_url: ${{ github.event.release.upload_url }}
62-
asset_path: SimpleCamera-Release-Simulator.zip
63-
asset_name: "SimpleCamera-Simulator-${{ github.event.release.tag_name }}.app.zip"
64-
asset_content_type: application/zip
70+
GH_TOKEN: ${{ github.token }}
71+
run: gh release upload "${GITHUB_REF_NAME}" "SimpleCamera-Release-Simulator.zip#SimpleCamera-Simulator-${GITHUB_REF_NAME}.app.zip" --clobber

.github/workflows/harness-android-emulator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ jobs:
8888
- uses: oven-sh/setup-bun@v2
8989

9090
- name: Setup Node.js
91-
uses: actions/setup-node@v4
91+
uses: actions/setup-node@v6
9292
with:
93-
node-version: '20'
93+
node-version: '24'
9494

9595
- name: Setup JDK 17
9696
uses: actions/setup-java@v5

.github/workflows/harness-aws-device.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393

9494
- id: filter
9595
if: ${{ github.event_name != 'workflow_dispatch' }}
96-
uses: dorny/paths-filter@v3
96+
uses: dorny/paths-filter@v4
9797
with:
9898
filters: |
9999
android:
@@ -147,9 +147,9 @@ jobs:
147147
- uses: oven-sh/setup-bun@v2
148148

149149
- name: Setup Node.js
150-
uses: actions/setup-node@v4
150+
uses: actions/setup-node@v6
151151
with:
152-
node-version: "20"
152+
node-version: "24"
153153

154154
- name: Setup JDK 17
155155
uses: actions/setup-java@v5
@@ -196,7 +196,7 @@ jobs:
196196
run: test -f ${{ env.HARNESS_ANDROID_APP_BUILD_OUTPUT }}
197197

198198
- name: Upload Android app artifact
199-
uses: actions/upload-artifact@v4
199+
uses: actions/upload-artifact@v7
200200
with:
201201
name: ${{ env.HARNESS_ANDROID_APK_ARTIFACT_NAME }}
202202
path: ${{ env.HARNESS_ANDROID_APP_BUILD_OUTPUT }}
@@ -217,7 +217,7 @@ jobs:
217217
fetch-depth: 1
218218

219219
- name: Download Android app artifact
220-
uses: actions/download-artifact@v4
220+
uses: actions/download-artifact@v8
221221
with:
222222
name: ${{ env.HARNESS_ANDROID_APK_ARTIFACT_NAME }}
223223
path: apps/simple-camera/android/app/build/outputs/apk/debug
@@ -284,7 +284,7 @@ jobs:
284284

285285
- name: Schedule Device Farm Android Automated Test
286286
id: run-test
287-
uses: aws-actions/aws-devicefarm-mobile-device-testing@v2.3
287+
uses: aws-actions/aws-devicefarm-mobile-device-testing@v3
288288
continue-on-error: true
289289
with:
290290
run-settings-json: |
@@ -327,7 +327,7 @@ jobs:
327327
run: bun install --frozen-lockfile
328328

329329
- name: Install Ccache
330-
uses: hendrikmuhs/ccache-action@v1.2
330+
uses: hendrikmuhs/ccache-action@v1.2.23
331331
with:
332332
max-size: 1.5G
333333
key: ${{ runner.os }}-${{ runner.arch }}-xcode${{ env.HARNESS_XCODE_VERSION }}-ccache-harness-ios
@@ -343,7 +343,7 @@ jobs:
343343
- name: Setup Ruby (bundle)
344344
uses: ruby/setup-ruby@v1
345345
with:
346-
ruby-version: 2.7.2
346+
ruby-version: 3.4.9
347347
bundler-cache: true
348348
working-directory: apps/simple-camera/
349349

@@ -453,15 +453,15 @@ jobs:
453453
run: test -f ${{ env.HARNESS_IOS_APP_BUILD_OUTPUT }}
454454

455455
- name: Upload iOS app artifact
456-
uses: actions/upload-artifact@v4
456+
uses: actions/upload-artifact@v7
457457
with:
458458
name: ${{ env.HARNESS_IOS_IPA_ARTIFACT_NAME }}
459459
path: ${{ env.HARNESS_IOS_APP_BUILD_OUTPUT }}
460460
if-no-files-found: error
461461
retention-days: 7
462462

463463
- name: Upload Harness XCTest UI runner IPA
464-
uses: actions/upload-artifact@v4
464+
uses: actions/upload-artifact@v7
465465
with:
466466
name: ${{ env.HARNESS_IOS_HARNESS_XCTEST_RUNNER_IPA_ARTIFACT_NAME }}
467467
path: ${{ env.HARNESS_IOS_HARNESS_XCTEST_RUNNER_IPA_PATH }}
@@ -482,13 +482,13 @@ jobs:
482482
fetch-depth: 1
483483

484484
- name: Download iOS app artifact
485-
uses: actions/download-artifact@v4
485+
uses: actions/download-artifact@v8
486486
with:
487487
name: ${{ env.HARNESS_IOS_IPA_ARTIFACT_NAME }}
488488
path: ${{ env.HARNESS_PROJECT_ROOT }}/ios/build/devicefarm
489489

490490
- name: Download Harness XCTest UI runner IPA artifact
491-
uses: actions/download-artifact@v4
491+
uses: actions/download-artifact@v8
492492
with:
493493
name: ${{ env.HARNESS_IOS_HARNESS_XCTEST_RUNNER_IPA_ARTIFACT_NAME }}
494494
path: ${{ env.HARNESS_PROJECT_ROOT }}/ios/build/devicefarm
@@ -572,7 +572,7 @@ jobs:
572572

573573
- name: Schedule Device Farm iOS Automated Test
574574
id: run-test
575-
uses: aws-actions/aws-devicefarm-mobile-device-testing@v2.3
575+
uses: aws-actions/aws-devicefarm-mobile-device-testing@v3
576576
continue-on-error: true
577577
with:
578578
run-settings-json: |

apps/simple-camera/Gemfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby ">= 2.6.10"
4+
ruby ">= 3.4.9"
55

66
# Exclude problematic versions of cocoapods and activesupport that cause build failures.
7-
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
7+
gem 'cocoapods', '>= 1.16.2', '< 1.17'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9-
gem 'xcodeproj', '< 1.26.0'
10-
gem 'concurrent-ruby', '< 1.3.4'
9+
gem 'xcodeproj', '>= 1.27.0', '< 2.0'
10+
gem 'concurrent-ruby', '>= 1.3.6', '< 2.0'
1111

1212
# Ruby 3.4.0 has removed some libraries from the standard library.
1313
gem 'bigdecimal'
1414
gem 'logger'
1515
gem 'benchmark'
1616
gem 'mutex_m'
17+
gem 'nkf'

apps/simple-camera/Gemfile.lock

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.7)
4+
CFPropertyList (3.0.8)
5+
activesupport (7.2.3.1)
56
base64
6-
nkf
7-
rexml
8-
activesupport (6.1.7.10)
9-
concurrent-ruby (~> 1.0, >= 1.0.2)
7+
benchmark (>= 0.3)
8+
bigdecimal
9+
concurrent-ruby (~> 1.0, >= 1.3.1)
10+
connection_pool (>= 2.2.5)
11+
drb
1012
i18n (>= 1.6, < 2)
11-
minitest (>= 5.1)
12-
tzinfo (~> 2.0)
13-
zeitwerk (~> 2.3)
14-
addressable (2.8.7)
15-
public_suffix (>= 2.0.2, < 7.0)
13+
logger (>= 1.4.2)
14+
minitest (>= 5.1, < 6)
15+
securerandom (>= 0.3)
16+
tzinfo (~> 2.0, >= 2.0.5)
17+
addressable (2.9.0)
18+
public_suffix (>= 2.0.2, < 8.0)
1619
algoliasearch (1.27.5)
1720
httpclient (~> 2.8, >= 2.8.3)
1821
json (>= 1.5.1)
1922
atomos (0.1.3)
2023
base64 (0.3.0)
2124
benchmark (0.5.0)
22-
bigdecimal (3.3.1)
25+
bigdecimal (4.1.2)
2326
claide (1.1.0)
24-
cocoapods (1.15.2)
27+
cocoapods (1.16.2)
2528
addressable (~> 2.8)
2629
claide (>= 1.0.2, < 2.0)
27-
cocoapods-core (= 1.15.2)
30+
cocoapods-core (= 1.16.2)
2831
cocoapods-deintegrate (>= 1.0.3, < 2.0)
2932
cocoapods-downloader (>= 2.1, < 3.0)
3033
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -38,8 +41,8 @@ GEM
3841
molinillo (~> 0.8.0)
3942
nap (~> 1.0)
4043
ruby-macho (>= 2.3.0, < 3.0)
41-
xcodeproj (>= 1.23.0, < 2.0)
42-
cocoapods-core (1.15.2)
44+
xcodeproj (>= 1.27.0, < 2.0)
45+
cocoapods-core (1.16.2)
4346
activesupport (>= 5.0, < 8)
4447
addressable (~> 2.8)
4548
algoliasearch (~> 1.0)
@@ -59,42 +62,45 @@ GEM
5962
netrc (~> 0.11)
6063
cocoapods-try (1.2.0)
6164
colored2 (3.1.2)
62-
concurrent-ruby (1.3.3)
65+
concurrent-ruby (1.3.6)
66+
connection_pool (3.0.2)
67+
drb (2.2.3)
6368
escape (0.0.4)
64-
ethon (0.15.0)
69+
ethon (0.18.0)
6570
ffi (>= 1.15.0)
66-
ffi (1.17.2)
71+
logger
72+
ffi (1.17.4)
6773
fourflusher (2.3.1)
6874
fuzzy_match (2.0.4)
6975
gh_inspector (1.1.3)
7076
httpclient (2.9.0)
7177
mutex_m
72-
i18n (1.14.7)
78+
i18n (1.14.8)
7379
concurrent-ruby (~> 1.0)
74-
json (2.7.6)
80+
json (2.19.7)
7581
logger (1.7.0)
76-
minitest (5.25.4)
82+
minitest (5.27.0)
7783
molinillo (0.8.0)
7884
mutex_m (0.3.0)
79-
nanaimo (0.3.0)
85+
nanaimo (0.4.0)
8086
nap (1.1.0)
8187
netrc (0.11.0)
8288
nkf (0.2.0)
8389
public_suffix (4.0.7)
8490
rexml (3.4.4)
8591
ruby-macho (2.5.1)
86-
typhoeus (1.5.0)
87-
ethon (>= 0.9.0, < 0.16.0)
92+
securerandom (0.4.1)
93+
typhoeus (1.6.0)
94+
ethon (>= 0.18.0)
8895
tzinfo (2.0.6)
8996
concurrent-ruby (~> 1.0)
90-
xcodeproj (1.25.1)
97+
xcodeproj (1.27.0)
9198
CFPropertyList (>= 2.3.3, < 4.0)
9299
atomos (~> 0.1.3)
93100
claide (>= 1.0.2, < 2.0)
94101
colored2 (~> 3.1)
95-
nanaimo (~> 0.3.0)
102+
nanaimo (~> 0.4.0)
96103
rexml (>= 3.3.6, < 4.0)
97-
zeitwerk (2.6.18)
98104

99105
PLATFORMS
100106
ruby
@@ -103,14 +109,15 @@ DEPENDENCIES
103109
activesupport (>= 6.1.7.5, != 7.1.0)
104110
benchmark
105111
bigdecimal
106-
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
107-
concurrent-ruby (< 1.3.4)
112+
cocoapods (>= 1.16.2, < 1.17)
113+
concurrent-ruby (>= 1.3.6, < 2.0)
108114
logger
109115
mutex_m
110-
xcodeproj (< 1.26.0)
116+
nkf
117+
xcodeproj (>= 1.27.0, < 2.0)
111118

112119
RUBY VERSION
113-
ruby 2.7.6p219
120+
ruby 3.4.9
114121

115122
BUNDLED WITH
116-
2.3.22
123+
4.0.12

0 commit comments

Comments
 (0)