Skip to content

Commit 75d22bd

Browse files
authored
Upgrade upload-artifact to v4 (#512)
1 parent 005d4f6 commit 75d22bd

26 files changed

+68
-68
lines changed

docs/03-github/01-getting-started.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
targetPlatform: WebGL
115115

116116
# Output
117-
- uses: actions/upload-artifact@v3
117+
- uses: actions/upload-artifact@v4
118118
with:
119119
name: Build
120120
path: build
@@ -186,7 +186,7 @@ jobs:
186186
targetPlatform: WebGL
187187

188188
# Output
189-
- uses: actions/upload-artifact@v3
189+
- uses: actions/upload-artifact@v4
190190
with:
191191
name: Build
192192
path: build
@@ -262,7 +262,7 @@ jobs:
262262
allowDirtyBuild: true
263263

264264
# Output
265-
- uses: actions/upload-artifact@v3
265+
- uses: actions/upload-artifact@v4
266266
with:
267267
name: Build
268268
path: build
@@ -328,7 +328,7 @@ jobs:
328328
projectPath: ${{ matrix.projectPath }}
329329
unityVersion: ${{ matrix.unityVersion }}
330330
githubToken: ${{ secrets.GITHUB_TOKEN }}
331-
- uses: actions/upload-artifact@v3
331+
- uses: actions/upload-artifact@v4
332332
if: always()
333333
with:
334334
name: Test results (all modes)
@@ -345,7 +345,7 @@ jobs:
345345
unityVersion: ${{ matrix.unityVersion }}
346346
targetPlatform: ${{ matrix.targetPlatform }}
347347
customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
348-
- uses: actions/upload-artifact@v3
348+
- uses: actions/upload-artifact@v4
349349
with:
350350
name: Build
351351
path: build
@@ -392,7 +392,7 @@ jobs:
392392
unityVersion: ${{ matrix.unityVersion }}
393393
targetPlatform: ${{ matrix.targetPlatform }}
394394
customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
395-
- uses: actions/upload-artifact@v3
395+
- uses: actions/upload-artifact@v4
396396
with:
397397
name: Build
398398
path: build
@@ -439,7 +439,7 @@ jobs:
439439
targetPlatform: ${{ matrix.targetPlatform }}
440440
customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
441441

442-
- uses: actions/upload-artifact@v3
442+
- uses: actions/upload-artifact@v4
443443
with:
444444
name: Build
445445
path: build

docs/03-github/03-test-runner.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ To do this, it is recommended to use the official Github Actions
230230
By default, Test Runner outputs its results to a folder named `artifacts`.
231231

232232
```yaml
233-
- uses: actions/upload-artifact@v3
233+
- uses: actions/upload-artifact@v4
234234
if: always()
235235
with:
236236
name: Test results
@@ -250,7 +250,7 @@ You can specify a different `artifactsPath` in the test runner and reference thi
250250
```
251251

252252
```yaml
253-
- uses: actions/upload-artifact@v3
253+
- uses: actions/upload-artifact@v4
254254
if: always()
255255
with:
256256
name: Test results
@@ -264,7 +264,7 @@ read by the step's `outputs.coveragePath`. These coverage options can be configu
264264
test and by default will create an XML and HTML web page reports.
265265

266266
```yaml
267-
- uses: actions/upload-artifact@v3
267+
- uses: actions/upload-artifact@v4
268268
if: always()
269269
with:
270270
name: Coverage results
@@ -604,12 +604,12 @@ jobs:
604604
githubToken: ${{ secrets.GITHUB_TOKEN }}
605605
checkName: ${{ matrix.testMode }} Test Results
606606
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+my.assembly.*'
607-
- uses: actions/upload-artifact@v3
607+
- uses: actions/upload-artifact@v4
608608
if: always()
609609
with:
610610
name: Test results for ${{ matrix.testMode }}
611611
path: ${{ steps.tests.outputs.artifactsPath }}
612-
- uses: actions/upload-artifact@v3
612+
- uses: actions/upload-artifact@v4
613613
if: always()
614614
with:
615615
name: Coverage results for ${{ matrix.testMode }}
@@ -658,12 +658,12 @@ jobs:
658658
githubToken: ${{ secrets.GITHUB_TOKEN }}
659659
checkName: ${{ matrix.testMode }} Test Results
660660
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+my.assembly.*'
661-
- uses: actions/upload-artifact@v3
661+
- uses: actions/upload-artifact@v4
662662
if: always()
663663
with:
664664
name: Test results for ${{ matrix.testMode }}
665665
path: ${{ steps.tests.outputs.artifactsPath }}
666-
- uses: actions/upload-artifact@v3
666+
- uses: actions/upload-artifact@v4
667667
if: always()
668668
with:
669669
name: Coverage results for ${{ matrix.testMode }}

docs/03-github/04-builder.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ By default, Builder outputs it's builds to a folder named `build`.
9999
Example:
100100

101101
```yaml
102-
- uses: actions/upload-artifact@v3
102+
- uses: actions/upload-artifact@v4
103103
with:
104104
name: Build
105105
path: build

docs/03-github/06-deployment/android.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
androidKeyaliasName: ${{ secrets.ANDROID_KEYALIAS_NAME }}
183183
androidKeyaliasPass: ${{ secrets.ANDROID_KEYALIAS_PASS }}
184184
androidTargetSdkVersion: AndroidApiLevel33
185-
- uses: actions/upload-artifact@v3
185+
- uses: actions/upload-artifact@v4
186186
with:
187187
name: build-Android
188188
path: build/Android

docs/03-github/06-deployment/ios.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ jobs:
440440
with:
441441
targetPlatform: iOS
442442
443-
- uses: actions/upload-artifact@v3
443+
- uses: actions/upload-artifact@v4
444444
with:
445445
name: build-iOS
446446
path: build/iOS

docs/03-github/06-deployment/steam.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
targetPlatform: ${{ matrix.targetPlatform }}
4949
versioning: Semantic
50-
- uses: actions/upload-artifact@v3
50+
- uses: actions/upload-artifact@v4
5151
with:
5252
name: Build-${{ matrix.targetPlatform }}
5353
path: build/${{ matrix.targetPlatform }}

versioned_docs/version-1/04-github/01-getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
targetPlatform: WebGL
9999

100100
# Output
101-
- uses: actions/upload-artifact@v1
101+
- uses: actions/upload-artifact@v4
102102
with:
103103
name: Build
104104
path: build
@@ -153,7 +153,7 @@ jobs:
153153
with:
154154
projectPath: ${{ matrix.projectPath }}
155155
unityVersion: ${{ matrix.unityVersion }}
156-
- uses: actions/upload-artifact@v1
156+
- uses: actions/upload-artifact@v4
157157
with:
158158
name: Test results (all modes)
159159
path: ${{ steps.testRunner.outputs.artifactsPath }}
@@ -163,7 +163,7 @@ jobs:
163163
unityVersion: ${{ matrix.unityVersion }}
164164
targetPlatform: ${{ matrix.targetPlatform }}
165165
customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
166-
- uses: actions/upload-artifact@v1
166+
- uses: actions/upload-artifact@v4
167167
with:
168168
name: Build
169169
path: build

versioned_docs/version-1/04-github/02-activation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ You use the id to **upload the output file** like so:
5353
```yaml
5454
# Upload artifact (Unity_v20XX.X.XXXX.alf)
5555
- name: Expose as artifact
56-
uses: actions/upload-artifact@v1
56+
uses: actions/upload-artifact@v4
5757
with:
5858
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
5959
path: ${{ steps.getManualLicenseFile.outputs.filePath }}

versioned_docs/version-1/04-github/03-test-runner.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ action.
6868
By default, Test Runner outputs its results to a folder named `artifacts`.
6969

7070
```yaml
71-
- uses: actions/upload-artifact@v1
71+
- uses: actions/upload-artifact@v4
7272
with:
7373
name: Test results
7474
path: artifacts
@@ -87,7 +87,7 @@ You can specify a different `artifactsPath` in the test runner and reference thi
8787
```
8888

8989
```yaml
90-
- uses: actions/upload-artifact@v1
90+
- uses: actions/upload-artifact@v4
9191
with:
9292
name: Test results
9393
path: ${{ steps.myTestStep.outputs.artifactsPath }}
@@ -233,7 +233,7 @@ jobs:
233233
unityVersion: ${{ matrix.unityVersion }}
234234
testMode: ${{ matrix.testMode }}
235235
artifactsPath: ${{ matrix.testMode }}-artifacts
236-
- uses: actions/upload-artifact@v1
236+
- uses: actions/upload-artifact@v4
237237
with:
238238
name: Test results for ${{ matrix.testMode }}
239239
path: ${{ steps.tests.outputs.artifactsPath }}

versioned_docs/version-1/04-github/04-builder.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ By default, Builder outputs it's builds to a folder named `build`.
7272
Example:
7373

7474
```yaml
75-
- uses: actions/upload-artifact@v1
75+
- uses: actions/upload-artifact@v4
7676
with:
7777
name: Build
7878
path: build
@@ -383,7 +383,7 @@ jobs:
383383
projectPath: ${{ matrix.projectPath }}
384384
unityVersion: ${{ matrix.unityVersion }}
385385
targetPlatform: ${{ matrix.targetPlatform }}
386-
- uses: actions/upload-artifact@v1
386+
- uses: actions/upload-artifact@v4
387387
with:
388388
name: Build
389389
path: build

0 commit comments

Comments
 (0)