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 }}