Skip to content

Commit befbaf1

Browse files
ebozdumanErsan Bozduman
andauthored
replaces deprecated v3 of artifact actions with v4 (#1260)
* 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]>
1 parent 4c07edc commit befbaf1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/minio-dotnet.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
# Upload the normal artifacts
6565
- name: Upload the build output
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: build-artifacts
6969
path: |
@@ -72,13 +72,15 @@ jobs:
7272
**/*.csproj
7373
**/*.key
7474
**/*.crt
75+
overwrite: true
7576

7677
# Upload the Nuget packages
7778
- name: Upload the Nuget packages output
78-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
7980
with:
8081
name: nuget-packages
8182
path: ./artifacts/*
83+
overwrite: true
8284

8385
format-check:
8486
runs-on: ubuntu-latest
@@ -123,7 +125,7 @@ jobs:
123125

124126
# Download the build artifacts
125127
- name: Download the build artifacts
126-
uses: actions/download-artifact@v3
128+
uses: actions/download-artifact@v4
127129
with:
128130
name: build-artifacts
129131
path: .
@@ -150,7 +152,7 @@ jobs:
150152

151153
# Download the build artifacts
152154
- name: Download the build artifacts
153-
uses: actions/download-artifact@v3
155+
uses: actions/download-artifact@v4
154156
with:
155157
name: build-artifacts
156158
path: .
@@ -191,7 +193,7 @@ jobs:
191193
steps:
192194
# Download the Nuget artifacts
193195
- name: Download the Nuget artifacts
194-
uses: actions/download-artifact@v3
196+
uses: actions/download-artifact@v4
195197
with:
196198
name: nuget-packages
197199
path: ./artifacts

0 commit comments

Comments
 (0)