From ab2eb85488d306d1e88de72d47ce76fd3ede6217 Mon Sep 17 00:00:00 2001 From: iammukeshm Date: Wed, 22 Jul 2026 19:21:33 +0530 Subject: [PATCH] ci: bump artifact and release actions to Node 24 majors upload-artifact v5, download-artifact v5, and action-gh-release v2 target the deprecated Node.js 20 runtime and warn on every run. Bumped to the current majors (v7/v8/v3), which target Node 24. upload v7 and download v8 share the v4+ artifact service, so the pack->publish artifact handoff is unaffected. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/publish-nuget.yml | 8 ++++---- .github/workflows/validate.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index efb1a18..68c63b9 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -36,7 +36,7 @@ jobs: run: dotnet test ${{ env.TEST_PATH }} -c Release --logger trx --results-directory TestResults - name: Upload test results - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: always() with: name: test-results @@ -60,7 +60,7 @@ jobs: run: dotnet pack ${{ env.PROJECT_PATH }} -c Release -o ./nupkg /p:Version=${{ inputs.version }} /p:ContinuousIntegrationBuild=true - name: Upload package - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: nuget-package path: ./nupkg/* @@ -76,7 +76,7 @@ jobs: - uses: actions/checkout@v5 - name: Download package - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: name: nuget-package path: ./nupkg @@ -103,7 +103,7 @@ jobs: run: dotnet nuget push ./nupkg/CWM.RoslynNavigator.${{ inputs.version }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate - name: Create GitHub Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: v${{ inputs.version }} name: CWM.RoslynNavigator v${{ inputs.version }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b3db0f2..a220ced 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -455,7 +455,7 @@ jobs: run: dotnet test mcp/CWM.RoslynNavigator/tests/CWM.RoslynNavigator.Tests.csproj --no-restore -c Release --logger trx --results-directory TestResults - name: Publish test results - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: always() with: name: test-results