Skip to content

Commit

Permalink
Use the current version of actions/upload-artifact and actions/downlo…
Browse files Browse the repository at this point in the history
…ad-artifact.
  • Loading branch information
jonsagara committed Jun 2, 2024
1 parent cb7dcfb commit 4ae9abd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 4ae9abd

Please sign in to comment.