Skip to content

Commit ea2a263

Browse files
ci: Bump actions artifacts from 3 to 4 (#3515)
Bumps actions/download-artifact from 3 to 4 and actions/upload-artifact from 3 to 4.
1 parent 3d3a411 commit ea2a263

5 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/benchmarking.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: |
7171
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org sentry-sdks --project sentry-cocoa DerivedData/Build/Products/Debug-iphoneos/iOS-Swift.app.dSYM
7272
- name: Archiving DerivedData
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
with:
7575
name: DerivedData-Xcode
7676
path: |
@@ -87,7 +87,7 @@ jobs:
8787
suite: ['High-end device', 'Mid-range device', 'Low-end device']
8888
steps:
8989
- uses: actions/checkout@v4
90-
- uses: actions/download-artifact@v3
90+
- uses: actions/download-artifact@v4
9191
with:
9292
name: DerivedData-Xcode
9393
- run: npm install -g [email protected]

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ jobs:
9494
shell: sh
9595

9696
- name: Archiving XCFramework.zip
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4
9898
with:
9999
name: ${{ github.sha }}
100100
if-no-files-found: error
101101
path: |
102102
${{ github.workspace }}/*.zip
103103
104104
- name: Archive build log if failed
105-
uses: actions/upload-artifact@v3
105+
uses: actions/upload-artifact@v4
106106
if: ${{ failure() || cancelled() }}
107107
with:
108108
name: raw-build-output-build-xcframework
@@ -115,7 +115,7 @@ jobs:
115115
needs: build-xcframework
116116
steps:
117117
- uses: actions/checkout@v4
118-
- uses: actions/download-artifact@v3
118+
- uses: actions/download-artifact@v4
119119
with:
120120
name: ${{ github.sha }}
121121
- run: ./scripts/ci-select-xcode.sh 15.0.1

.github/workflows/saucelabs-UI-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org sentry-sdks --project sentry-cocoa DerivedData/Build/Products/Test-iphoneos/iOS-Swift.app.dSYM
8080
- name: Archiving DerivedData
81-
uses: actions/upload-artifact@v3
81+
uses: actions/upload-artifact@v4
8282
with:
8383
name: DerivedData-Xcode-${{matrix.xcode}}
8484
path: |
@@ -115,7 +115,7 @@ jobs:
115115
steps:
116116
- uses: actions/checkout@v4
117117

118-
- uses: actions/download-artifact@v3
118+
- uses: actions/download-artifact@v4
119119
with:
120120
name: DerivedData-Xcode-${{ matrix.xcode }}
121121

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ jobs:
5555
run: cp $(swift build --show-bin-path -c release)/Run test-server-exec
5656

5757
- name: Archiving DerivedData
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: test-server
6161
path: |
6262
./test-server/test-server-exec
6363
6464
- name: Archiving Raw Test Logs
65-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6666
if: ${{ failure() || cancelled() }}
6767
with:
6868
name: test-server-build-log-${{matrix.platform}}-xcode-${{matrix.xcode}}-os-${{matrix.test-destination-os}}
@@ -148,7 +148,7 @@ jobs:
148148

149149
steps:
150150
- uses: actions/checkout@v4
151-
- uses: actions/download-artifact@v3
151+
- uses: actions/download-artifact@v4
152152
with:
153153
name: test-server
154154

@@ -200,23 +200,23 @@ jobs:
200200
run: ./scripts/xcode-slowest-tests.sh
201201

202202
- name: Archiving DerivedData Logs
203-
uses: actions/upload-artifact@v3
203+
uses: actions/upload-artifact@v4
204204
if: steps.build_tests.outcome == 'failure'
205205
with:
206206
name: derived-data-${{matrix.platform}}-xcode-${{matrix.xcode}}-os-${{matrix.test-destination-os}}
207207
path: |
208208
/Users/runner/Library/Developer/Xcode/DerivedData/**/Logs/**
209209
210210
- name: Archiving Raw Test Logs
211-
uses: actions/upload-artifact@v3
211+
uses: actions/upload-artifact@v4
212212
if: ${{ failure() || cancelled() }}
213213
with:
214214
name: raw-test-output-${{matrix.platform}}-xcode-${{matrix.xcode}}-os-${{matrix.test-destination-os}}
215215
path: |
216216
raw-test-output.log
217217
218218
- name: Archiving Crash Logs
219-
uses: actions/upload-artifact@v3
219+
uses: actions/upload-artifact@v4
220220
if: ${{ failure() || cancelled() }}
221221
with:
222222
name: crash-logs-${{matrix.platform}}-xcode-${{matrix.xcode}}-os-${{matrix.test-destination-os}}
@@ -263,7 +263,7 @@ jobs:
263263
steps:
264264
- uses: actions/checkout@v4
265265

266-
- uses: actions/download-artifact@v3
266+
- uses: actions/download-artifact@v4
267267
with:
268268
name: test-server
269269

@@ -278,7 +278,7 @@ jobs:
278278
run: ./scripts/tests-with-thread-sanitizer.sh
279279

280280
- name: Archiving Test Logs
281-
uses: actions/upload-artifact@v3
281+
uses: actions/upload-artifact@v4
282282
if: ${{ failure() || cancelled() }}
283283
with:
284284
name: thread-sanitizer
@@ -301,7 +301,7 @@ jobs:
301301
shell: sh
302302

303303
- name: Archiving Raw Test Logs
304-
uses: actions/upload-artifact@v3
304+
uses: actions/upload-artifact@v4
305305
if: ${{ failure() || cancelled() }}
306306
with:
307307
name: raw-uitest-output-${{matrix.target}}
@@ -335,7 +335,7 @@ jobs:
335335
shell: sh
336336

337337
- name: Archiving Raw Test Logs
338-
uses: actions/upload-artifact@v3
338+
uses: actions/upload-artifact@v4
339339
if: ${{ failure() || cancelled() }}
340340
with:
341341
name: raw-swiftui-test-output-${{matrix.platform}}-xcode-${{matrix.xcode}}-os-${{matrix.test-destination-os}}
@@ -357,7 +357,7 @@ jobs:
357357
shell: sh
358358

359359
- name: Archiving Raw Test Logs
360-
uses: actions/upload-artifact@v3
360+
uses: actions/upload-artifact@v4
361361
if: ${{ failure() || cancelled() }}
362362
with:
363363
name: raw-uitest-output-asan

.github/workflows/testflight.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
bundle exec fastlane ios_swift_to_testflight
5353
5454
- name: Archiving
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: dSYMs
5858
path: |

0 commit comments

Comments
 (0)