Skip to content

Commit cb0246d

Browse files
authored
upgrade upload-artifact version [skip cypress] (aave#2332)
1 parent 9ebe874 commit cb0246d

5 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/actions/analyze-comment/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
- name: Download PR bundle stats
1212
if: github.event.workflow_run.id
1313
continue-on-error: true
14-
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
14+
uses: dawidd6/action-download-artifact@v6
1515
with:
1616
workflow: build-fork.yml
1717
run_id: ${{ github.event.workflow_run.id }}
@@ -25,13 +25,13 @@ runs:
2525

2626
- name: Upload bundle
2727
if: github.event_name == 'push'
28-
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
28+
uses: actions/upload-artifact@v4
2929
with:
3030
name: bundle
3131
path: .next/analyze/__bundle_analysis.json
3232

3333
- name: Download base branch bundle stats
34-
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
34+
uses: dawidd6/action-download-artifact@v6
3535
if: github.event_name != 'push'
3636
continue-on-error: true
3737
with:

.github/actions/cypress/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ runs:
2929
3030
- name: download build
3131
if: github.event_name != 'workflow_run'
32-
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
32+
uses: actions/download-artifact@v4
3333
with:
3434
name: out_cypress
3535
path: out
3636

3737
- name: Download static build
3838
if: github.event_name == 'workflow_run'
39-
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
39+
uses: dawidd6/action-download-artifact@v6
4040
with:
4141
workflow: build-fork.yml
4242
run_id: ${{ github.event.workflow_run.id }}
@@ -60,7 +60,7 @@ runs:
6060
CYPRESS_TENDERLY_PROJECT: ${{ inputs.CYPRESS_TENDERLY_PROJECT }}
6161

6262
- name: upload screenshots
63-
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
63+
uses: actions/upload-artifact@v4
6464
if: failure()
6565
with:
6666
name: cypress-fail-screenshots-${{ github.job }}-${{ matrix.market }}

.github/actions/upload-artifacts/action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,27 @@ runs:
2424
echo ${{ github.event.number }} > ./__pr/NUM
2525
- name: store PR info
2626
if: github.event.number && inputs.PR_INFO == 'true'
27-
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
27+
uses: actions/upload-artifact@v4
2828
with:
2929
name: pr
3030
path: __pr/
3131
retention-days: 10
32+
overwrite: true
3233
- name: store static build
33-
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
34+
uses: actions/upload-artifact@v4
3435
with:
3536
name: '${{ inputs.BUILD_ARTIFACT_NAME }}'
3637
path: out/
3738
retention-days: 10
39+
overwrite: true
3840
- name: store nextjs build
3941
if: inputs.NEXTJS_BUILD == 'true'
40-
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
42+
uses: actions/upload-artifact@v4
4143
with:
4244
name: 'nextjs_${{ github.job }}'
4345
path: |
4446
.next
4547
!.next/cache
4648
retention-days: 10
49+
overwrite: true
50+
include-hidden-files: true

.github/workflows/build-test-deploy-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
101101

102102
- name: download build
103-
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
103+
uses: actions/download-artifact@v4
104104
with:
105105
name: nextjs_build
106106
path: .next
@@ -118,7 +118,7 @@ jobs:
118118
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
119119

120120
- name: download build
121-
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
121+
uses: actions/download-artifact@v4
122122
with:
123123
name: out
124124
path: out

.github/workflows/build-test-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
122122

123123
- name: download build
124-
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
124+
uses: actions/download-artifact@v4
125125
with:
126126
name: nextjs_build
127127
path: .next
@@ -144,7 +144,7 @@ jobs:
144144
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
145145

146146
- name: download build
147-
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
147+
uses: actions/download-artifact@v4
148148
with:
149149
name: out
150150
path: out

0 commit comments

Comments
 (0)