Skip to content

Commit

Permalink
Try to upgrade both upload-artifact and download-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbra committed Mar 3, 2024
1 parent 6783e4b commit 8d8c270
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:

- name: Upload self-contained ${{ matrix.arch }}
#if: ${{ needs.set-version-number.outputs.is-release == 'true' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }}
path: ./publish/${{ matrix.arch }}/self-contained/*
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }}
path: ${{ matrix.arch }}/
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:

steps:
- uses: actions/checkout@v4
# - uses: actions/download-artifact@v3 # download from another artifact is not a good idea, we need to build directly from source
# - uses: actions/download-artifact@v4 # download from another artifact is not a good idea, we need to build directly from source
# with:
# name: grate-linux-musl-x64-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }}
# path: installers/docker/
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }}
path: ${{ matrix.arch }}/
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
runs-on: ${{ matrix.os.name }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: grate-${{ matrix.os.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }}
path: executables/${{ matrix.os.arch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:

steps:
- name: Download XML test reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: test-results

Expand Down

0 comments on commit 8d8c270

Please sign in to comment.