Skip to content

Commit

Permalink
replaces deprecated v3 of artifact actions with v4 (#1260)
Browse files Browse the repository at this point in the history
* replaces deprecated v3 of artifact actions with v4

* removes artifact re-upload if already uploaded

* Removes the commented out upload command

* removes artifacts to resolve Windows upload-artifact@v4 issue

* a new fix to resolve Windows upload-artifact@v4 issue

* replaces the misplaced fix

* fixes v3 to v4 issue

* fixes syntax issue

* removes sudo

* Another attempt to fix v3 to v4 migration

* recovers the code removed by mistake

---------

Co-authored-by: Ersan Bozduman <[email protected]>
  • Loading branch information
ebozduman and Ersan Bozduman authored Mar 7, 2025
1 parent 4c07edc commit befbaf1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/minio-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

# Upload the normal artifacts
- name: Upload the build output
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
Expand All @@ -72,13 +72,15 @@ jobs:
**/*.csproj
**/*.key
**/*.crt
overwrite: true

# Upload the Nuget packages
- name: Upload the Nuget packages output
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: ./artifacts/*
overwrite: true

format-check:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -123,7 +125,7 @@ jobs:

# Download the build artifacts
- name: Download the build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: .
Expand All @@ -150,7 +152,7 @@ jobs:

# Download the build artifacts
- name: Download the build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: .
Expand Down Expand Up @@ -191,7 +193,7 @@ jobs:
steps:
# Download the Nuget artifacts
- name: Download the Nuget artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nuget-packages
path: ./artifacts
Expand Down

0 comments on commit befbaf1

Please sign in to comment.