From 4ae9abda41e24744c1c752ba01f28c5490a4401a Mon Sep 17 00:00:00 2001 From: Jon Sagara Date: Sat, 1 Jun 2024 18:31:09 -0700 Subject: [PATCH] Use the current version of actions/upload-artifact and actions/download-artifact. --- .github/workflows/build-and-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 8d6a346..2b1404d 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -56,7 +56,7 @@ jobs: # Upload .nupkg files as an artifact, so they can be used in the following jobs - name: Upload NuGet packages as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nuget if-no-files-found: error @@ -65,7 +65,7 @@ jobs: # Upload global.json as an artifact so that we don't have to check out the whole repo to publish to nuget. - name: Upload global.json as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: globaljson if-no-files-found: error @@ -97,14 +97,14 @@ jobs: steps: # Download the NuGet package created in the pack job - name: Download NuGet package artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nuget path: ${{ env.NuGetDirectory }} # Download the global.json file uploaded in the pack job - name: Download NuGet package artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: globaljson path: ${{ github.workspace }}