Unverified Commit 26b87589 authored by Matt Mastracci's avatar Matt Mastracci Committed by GitHub

Pin upload-artifact to v7.0.1 and download-artifact to v8.0.1 (#92757)

## What
- Pin all `actions/upload-artifact` references to `v7.0.1`
(`043fb46d1a93c77aae656e7c1c64a875d1fc6a0a`)
- Pin all `actions/download-artifact` references to `v8.0.1`
(`3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c`)
- Full SHA commit hashes
- Consistent across all 7 workflow files
parent ddd625d4
...@@ -334,20 +334,20 @@ jobs: ...@@ -334,20 +334,20 @@ jobs:
- name: Upload turbopack bytesize artifact - name: Upload turbopack bytesize artifact
if: ${{ steps.check-did-build.outputs.DID_BUILD == 'true' }} if: ${{ steps.check-did-build.outputs.DID_BUILD == 'true' }}
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: turbopack-bytesize-${{ matrix.target }} name: turbopack-bytesize-${{ matrix.target }}
path: turbopack-bin-size/* path: turbopack-bin-size/*
- name: Upload swc artifact - name: Upload swc artifact
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: next-swc-binaries-${{ matrix.target }} name: next-swc-binaries-${{ matrix.target }}
path: packages/next-swc/native/next-swc.*.node path: packages/next-swc/native/next-swc.*.node
- name: Upload turbo summary artifact - name: Upload turbo summary artifact
if: ${{ !matrix.docker }} if: ${{ !matrix.docker }}
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: turbo-run-summary-${{ matrix.target }} name: turbo-run-summary-${{ matrix.target }}
path: .turbo/runs path: .turbo/runs
...@@ -394,13 +394,13 @@ jobs: ...@@ -394,13 +394,13 @@ jobs:
run: '[[ -d "crates/wasm/pkg" ]] && mv crates/wasm/pkg crates/wasm/pkg-${{ matrix.target }} || ls crates/wasm' run: '[[ -d "crates/wasm/pkg" ]] && mv crates/wasm/pkg crates/wasm/pkg-${{ matrix.target }} || ls crates/wasm'
- name: Upload turbo summary artifact - name: Upload turbo summary artifact
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: turbo-run-summary-wasm-${{matrix.target}} name: turbo-run-summary-wasm-${{matrix.target}}
path: .turbo/runs path: .turbo/runs
- name: Upload swc artifact - name: Upload swc artifact
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: wasm-binaries-${{matrix.target}} name: wasm-binaries-${{matrix.target}}
path: crates/wasm/pkg-* path: crates/wasm/pkg-*
...@@ -441,13 +441,13 @@ jobs: ...@@ -441,13 +441,13 @@ jobs:
${{ github.sha }}-${{ github.run_number }} ${{ github.sha }}-${{ github.run_number }}
${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt}} ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt}}
- uses: actions/download-artifact@v8 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: next-swc-binaries-* pattern: next-swc-binaries-*
merge-multiple: true merge-multiple: true
path: packages/next-swc/native path: packages/next-swc/native
- uses: actions/download-artifact@v8 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: wasm-binaries-* pattern: wasm-binaries-*
merge-multiple: true merge-multiple: true
...@@ -459,7 +459,7 @@ jobs: ...@@ -459,7 +459,7 @@ jobs:
run: node scripts/create-preview-tarballs.js "${{ github.event.after || github.sha }}" "${{ runner.temp }}/preview-tarballs" run: node scripts/create-preview-tarballs.js "${{ github.event.after || github.sha }}" "${{ runner.temp }}/preview-tarballs"
- name: Upload tarballs - name: Upload tarballs
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
# Update all mentions of this name in vercel-packages when changing. # Update all mentions of this name in vercel-packages when changing.
name: preview-tarballs name: preview-tarballs
...@@ -506,13 +506,13 @@ jobs: ...@@ -506,13 +506,13 @@ jobs:
${{ github.sha }}-${{ github.run_number }} ${{ github.sha }}-${{ github.run_number }}
${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt}} ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt}}
- uses: actions/download-artifact@v8 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: next-swc-binaries-* pattern: next-swc-binaries-*
merge-multiple: true merge-multiple: true
path: packages/next-swc/native path: packages/next-swc/native
- uses: actions/download-artifact@v8 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: wasm-binaries-* pattern: wasm-binaries-*
merge-multiple: true merge-multiple: true
...@@ -585,7 +585,7 @@ jobs: ...@@ -585,7 +585,7 @@ jobs:
.github .github
- name: Collect bytesize metrics - name: Collect bytesize metrics
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: turbopack-bytesize-* pattern: turbopack-bytesize-*
merge-multiple: true merge-multiple: true
......
...@@ -134,7 +134,7 @@ jobs: ...@@ -134,7 +134,7 @@ jobs:
fi fi
- name: Upload test timings - name: Upload test timings
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-timings name: test-timings
path: test-timings.json path: test-timings.json
......
...@@ -267,7 +267,7 @@ jobs: ...@@ -267,7 +267,7 @@ jobs:
- name: Upload next-swc artifact - name: Upload next-swc artifact
if: ${{ inputs.uploadSwcArtifact == 'yes' }} if: ${{ inputs.uploadSwcArtifact == 'yes' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: next-swc-binary name: next-swc-binary
path: packages/next-swc/native/next-swc.linux-x64-gnu.node path: packages/next-swc/native/next-swc.linux-x64-gnu.node
...@@ -292,7 +292,7 @@ jobs: ...@@ -292,7 +292,7 @@ jobs:
- name: Download pre-built test timings - name: Download pre-built test timings
if: ${{ inputs.testTimingsArtifact != '' }} if: ${{ inputs.testTimingsArtifact != '' }}
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: ${{ inputs.testTimingsArtifact }} name: ${{ inputs.testTimingsArtifact }}
...@@ -320,7 +320,7 @@ jobs: ...@@ -320,7 +320,7 @@ jobs:
- name: Upload test result artifacts - name: Upload test result artifacts
if: ${{ inputs.testReportsArtifactPrefix != '' && inputs.afterBuild && always() }} if: ${{ inputs.testReportsArtifactPrefix != '' && inputs.afterBuild && always() }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: ${{ inputs.testReportsArtifactPrefix }}-${{ steps.var.outputs.input_step_key }} name: ${{ inputs.testReportsArtifactPrefix }}-${{ steps.var.outputs.input_step_key }}
path: test/**/*.results.json path: test/**/*.results.json
...@@ -335,14 +335,14 @@ jobs: ...@@ -335,14 +335,14 @@ jobs:
- name: Upload Turborepo summary - name: Upload Turborepo summary
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: turbo-run-summary-${{ steps.var.outputs.input_step_key }} name: turbo-run-summary-${{ steps.var.outputs.input_step_key }}
path: .turbo/runs path: .turbo/runs
if-no-files-found: ignore if-no-files-found: ignore
- name: Upload bundle analyzer artifacts - name: Upload bundle analyzer artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }} if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }}
with: with:
name: webpack bundle analysis stats-${{ steps.var.outputs.input_step_key }} name: webpack bundle analysis stats-${{ steps.var.outputs.input_step_key }}
...@@ -375,7 +375,7 @@ jobs: ...@@ -375,7 +375,7 @@ jobs:
fi fi
- name: Upload Playwright Snapshots - name: Upload Playwright Snapshots
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ inputs.afterBuild && always() }} if: ${{ inputs.afterBuild && always() }}
with: with:
name: test-playwright-snapshots-${{ steps.var.outputs.input_step_key }} name: test-playwright-snapshots-${{ steps.var.outputs.input_step_key }}
......
...@@ -161,7 +161,7 @@ jobs: ...@@ -161,7 +161,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Store artifacts - name: Store artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-results-${{ inputs.name }} name: test-results-${{ inputs.name }}
path: | path: |
......
...@@ -61,7 +61,7 @@ jobs: ...@@ -61,7 +61,7 @@ jobs:
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.mjs --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.mjs --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
id: docs-change id: docs-change
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
name: next-swc-binary name: next-swc-binary
...@@ -82,7 +82,7 @@ jobs: ...@@ -82,7 +82,7 @@ jobs:
- name: Upload stats results - name: Upload stats results
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: pr-stats-${{ matrix.bundler }} name: pr-stats-${{ matrix.bundler }}
path: pr-stats-${{ matrix.bundler }}.json path: pr-stats-${{ matrix.bundler }}.json
...@@ -104,7 +104,7 @@ jobs: ...@@ -104,7 +104,7 @@ jobs:
- name: Download all stats artifacts - name: Download all stats artifacts
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: pr-stats-* pattern: pr-stats-*
path: stats-results path: stats-results
......
...@@ -67,7 +67,7 @@ jobs: ...@@ -67,7 +67,7 @@ jobs:
path: integration-test-data path: integration-test-data
- name: Download binary - name: Download binary
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
path: artifacts path: artifacts
......
...@@ -98,7 +98,7 @@ jobs: ...@@ -98,7 +98,7 @@ jobs:
fi fi
- name: Upload test timings - name: Upload test timings
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-timings name: test-timings
path: test-timings.json path: test-timings.json
...@@ -238,7 +238,7 @@ jobs: ...@@ -238,7 +238,7 @@ jobs:
.github .github
- name: Download test report artifacts - name: Download test report artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: test-reports-* pattern: test-reports-*
path: test path: test
...@@ -279,7 +279,7 @@ jobs: ...@@ -279,7 +279,7 @@ jobs:
- name: Download adapter test result artifacts - name: Download adapter test result artifacts
continue-on-error: true continue-on-error: true
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: adapter-test-reports-* pattern: adapter-test-reports-*
path: adapter-test-results path: adapter-test-results
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment