Skip to content

Commit 4e0334e

Browse files
authored
ci: sync uploads and download artifact versions
1 parent 223aa10 commit 4e0334e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ jobs:
7979
dotnet pack src/bunit.generators/ -c release --output ${{ env.NUGET_DIRECTORY }} -p:ContinuousIntegrationBuild=true -p:publicrelease=true
8080
8181
# Publish the NuGet package as an artifact, so they can be used in the following jobs
82-
- uses: actions/upload-artifact@v3
82+
- uses: actions/upload-artifact@v4
8383
with:
8484
name: ${{ env.NUGET_PACKAGES_ARTIFACT }}
8585
if-no-files-found: error
86+
compression-level: 0 # nuget files already compressed
8687
retention-days: 7
8788
path: ${{ env.NUGET_DIRECTORY }}/*.nupkg
8889

@@ -93,7 +94,7 @@ jobs:
9394
- name: Setup .NET
9495
uses: actions/setup-dotnet@v4
9596

96-
- uses: actions/download-artifact@v3
97+
- uses: actions/download-artifact@v4
9798
with:
9899
name: ${{ env.NUGET_PACKAGES_ARTIFACT }}
99100
path: ${{ env.NUGET_DIRECTORY }}
@@ -156,7 +157,7 @@ jobs:
156157
- name: Setup .NET
157158
uses: actions/setup-dotnet@v4
158159

159-
- uses: actions/download-artifact@v3
160+
- uses: actions/download-artifact@v4
160161
with:
161162
name: ${{ env.NUGET_PACKAGES_ARTIFACT }}
162163
path: ${{ env.NUGET_DIRECTORY }}
@@ -248,7 +249,7 @@ jobs:
248249
runs-on: ubuntu-latest
249250
needs: [ validate-nuget, run-test, validate_template, validate-docs ]
250251
steps:
251-
- uses: actions/download-artifact@v3
252+
- uses: actions/download-artifact@v4
252253
with:
253254
name: ${{ env.NUGET_PACKAGES_ARTIFACT }}
254255
path: ${{ env.NUGET_DIRECTORY }}

0 commit comments

Comments
 (0)