Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade github actions to artifacts v4 #7027

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:

- name: Upload patch
if: steps.diff.outputs.diff == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build.diff
path: build.diff
Expand All @@ -156,7 +156,7 @@ jobs:
uses: actions/checkout@v4

- name: Download Dist Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
run: pnpm bench

- name: Upload Report JSON
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmarks
path: tools/hangar/results/report.json
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
node-version: ${{ matrix.node }}

- name: Download Dist Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:

- name: Upload mutation
if: matrix.runner == 'ubuntu' && matrix.node == '20' && steps.diff.outputs.diff == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.diff.outputs.diff_name }}
path: ${{ steps.diff.outputs.diff_name }}
Expand All @@ -290,7 +290,7 @@ jobs:
uses: actions/checkout@v4

- name: Download Dist Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
echo '${{ toJson(needs) }}'
exit 1
- name: Download patches
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Check patches
run: |
PATCH_COUNT=0
Expand All @@ -365,7 +365,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Build Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Tag commit
uses: tvdias/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/matrix-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: pnpm install --frozen-lockfile --filter ./tools/compatibility-matrix-automation

- name: Download Output Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: out
path: out
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Download artifacts
id: download-artifacts
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk-spec-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
##################### install a local wing version #########################
- name: Download Dist Artifacts
if: ${{ env.LOCAL_BUILD == 'true' }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:

- name: Upload Artifacts
if: ${{ env.LOCAL_BUILD == 'true' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: out
path: out/*
Expand Down
Loading