Skip to content

Commit

Permalink
Update upload and download artifact to the latest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Nov 8, 2024
1 parent 1eae6ef commit a247c7a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
working-directory: src/Magick.Native

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-x64
path: artifacts
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
working-directory: src/Magick.Native

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-musl-x64
path: artifacts
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
working-directory: src/Magick.Native

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-arm64
path: artifacts
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
working-directory: src/Magick.Native

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-x64
path: artifacts
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
working-directory: src/Magick.Native

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-arm64
path: artifacts
Expand Down Expand Up @@ -328,13 +328,13 @@ jobs:
working-directory: build/windows

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows
path: artifacts/windows

- name: Upload resources
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: resources
path: artifacts/resources
Expand Down Expand Up @@ -384,7 +384,7 @@ jobs:
working-directory: src/Magick.Native

- name: Upload library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wasm-x86
path: artifacts
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
fetch-depth: 1

- name: Download linux library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-x64

Expand Down Expand Up @@ -463,7 +463,7 @@ jobs:
uses: actions/checkout@v4

- name: Download linux-musl library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-musl-x64

Expand Down Expand Up @@ -492,7 +492,7 @@ jobs:
uses: actions/checkout@v4

- name: Download linux-arm64 library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-arm64

Expand Down Expand Up @@ -525,7 +525,7 @@ jobs:
uses: actions/checkout@v4

- name: Download macos library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: macos-${{ matrix.arch }}

Expand Down Expand Up @@ -575,7 +575,7 @@ jobs:
working-directory: build/metadata

- name: Upload metadata
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: metadata
path: artifacts
Expand All @@ -597,49 +597,49 @@ jobs:
working-directory: build/windows

- name: Download linux-x64 library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-x64
path: publish\dotnet\files\linux

- name: Download linux-arm64 library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-arm64
path: publish\dotnet\files\linux

- name: Download linux-musl-x64 library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-musl-x64
path: publish\dotnet\files\linux-musl

- name: Download macos-x64 library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: macos-x64
path: publish\dotnet\files\macos

- name: Download macos-arm64 library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: macos-arm64
path: publish\dotnet\files\macos

- name: Download windows libraries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: windows
path: publish\dotnet\files\windows

- name: Download resources
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: resources
path: publish\dotnet\files\resources

- name: Download metadata
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: metadata
path: publish\dotnet\files\metadata
Expand Down Expand Up @@ -673,7 +673,7 @@ jobs:
working-directory: build/windows

- name: Download wasm library
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wasm-x86
path: publish\wasm\files
Expand Down

0 comments on commit a247c7a

Please sign in to comment.