2222 name : 🛠 Build, test and pack
2323 steps :
2424 - name : 🧑💻 Checkout git repository
25- uses : actions/checkout@v4
25+ uses : actions/checkout@v5
2626 with :
2727 fetch-depth : 0
2828 - name : 🏎 Optimize Windows runner
3131 echo "DOTNET_INSTALL_DIR=D:\dotnet" >> $env:GITHUB_ENV
3232 echo "NUGET_PACKAGES=D:\nuget" >> $env:GITHUB_ENV
3333 - name : 🧑🔧 Install .NET SDK
34- uses : actions/setup-dotnet@v4
34+ uses : actions/setup-dotnet@v5
3535 - name : ℹ️ Show .NET info
3636 run : dotnet --info
3737 - name : 💾 Retrieve cached NuGet packages
4848 - name : 🧪 Run tests
4949 run : dotnet test --no-build
5050 - name : 📤 Upload received files from failing tests
51- uses : actions/upload-artifact@v4
51+ uses : actions/upload-artifact@v5
5252 if : failure()
5353 with :
5454 name : Received-${{ runner.os }}
6262 reporter : dotnet-trx
6363 - name : 📤 Upload NuGet package artifact
6464 if : matrix.os == 'ubuntu-latest'
65- uses : actions/upload-artifact@v4
65+ uses : actions/upload-artifact@v5
6666 with :
6767 name : NuGet package
6868 path : " *.nupkg"
7373 git tag --list ${{ github.ref_name }} --format='%(contents)' > ReleaseNotes.md
7474 - name : 📤 Upload release notes
7575 if : matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/')
76- uses : actions/upload-artifact@v4
76+ uses : actions/upload-artifact@v5
7777 with :
7878 name : Release Notes
7979 path : ReleaseNotes.md
@@ -86,11 +86,11 @@ jobs:
8686 name : 🐿 Publish
8787 steps :
8888 - name : 📥 Download NuGet package artifact
89- uses : actions/download-artifact@v4
89+ uses : actions/download-artifact@v5
9090 with :
9191 name : NuGet package
9292 - name : 📥 Download release notes artifact
93- uses : actions/download-artifact@v4
93+ uses : actions/download-artifact@v5
9494 with :
9595 name : Release Notes
9696 - name : 🚢 Create GitHub Release
0 commit comments