Skip to content

Commit

Permalink
restore version plus add overwrite to true
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmance committed Jan 2, 2025
1 parent 275d3ed commit 306bad6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/actions/analyze-comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
steps:
- name: Download PR bundle stats
if: github.event.workflow_run.id
uses: dawidd6/action-download-artifact@v7
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
with:
workflow: build-fork.yml
run_id: ${{ github.event.workflow_run.id }}
Expand All @@ -24,13 +24,13 @@ runs:

- name: Upload bundle
if: github.event_name == 'push'
uses: actions/upload-artifact@v4.5.0
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with:
name: bundle
path: .next/analyze/__bundle_analysis.json

- name: Download base branch bundle stats
uses: dawidd6/action-download-artifact@v7
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
if: github.event_name != 'push'
with:
workflow: build-test-deploy.yml
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/cypress/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ runs:
- name: download build
if: github.event_name != 'workflow_run'
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
with:
name: out
path: out

- name: Download static build
if: github.event_name == 'workflow_run'
uses: dawidd6/action-download-artifact@v7
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
with:
workflow: build-fork.yml
run_id: ${{ github.event.workflow_run.id }}
Expand All @@ -60,7 +60,7 @@ runs:
CYPRESS_TENDERLY_PROJECT: ${{ inputs.CYPRESS_TENDERLY_PROJECT }}

- name: upload screenshots
uses: actions/upload-artifact@v4.5.0
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
if: failure()
with:
name: cypress-fail-screenshots-${{ github.job }}-${{ matrix.market }}
Expand Down
15 changes: 9 additions & 6 deletions .github/actions/upload-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,26 @@ runs:
echo ${{ github.event.number }} > ./__pr/NUM
- name: store PR info
if: github.event.number && inputs.PR_INFO == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with:
name: pr
path: __pr/
retention-days: 15
retention-days: 10
overwrite: true
- name: store static build
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with:
name: '${{ inputs.BUILD_ARTIFACT_NAME }}'
path: out/
retention-days: 15
retention-days: 10
overwrite: true
- name: store nextjs build
if: inputs.NEXTJS_BUILD == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with:
name: 'nextjs_${{ github.job }}'
path: |
.next
!.next/cache
retention-days: 15
retention-days: 10
overwrite: true
4 changes: 2 additions & 2 deletions .github/workflows/build-test-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: download build
uses: actions/download-artifact@v4.1.8 # v3.0.0
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
with:
name: nextjs_build
path: .next
Expand All @@ -111,7 +111,7 @@ jobs:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: download build
uses: actions/download-artifact@v4.1.8 # v3.0.0
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
with:
name: out
path: out
Expand Down

0 comments on commit 306bad6

Please sign in to comment.