From d93cc19a50ac8615706621a180905b5a9633e0ca Mon Sep 17 00:00:00 2001 From: Morten Holt Date: Mon, 22 Jun 2026 09:52:24 +0200 Subject: [PATCH] Fix release pipeline and bump GitHub Actions to Node 24 runtimes - Pass explicit tag_name to action-gh-release so release assets attach correctly instead of failing with "GitHub Releases requires a tag" - Bump checkout (v4->v7), setup-dotnet (v4->v5), upload-artifact (v4->v7), and action-gh-release (v2->v3) to clear the Node 20 deprecation warning Co-Authored-By: Claude via Conducktor --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 565de15..13ff922 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: 🛠️ Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 10.x @@ -46,7 +46,7 @@ jobs: run: dotnet pack --configuration Release --no-build --output ./nupkg - name: 📤 Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: packages path: ./nupkg diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f198276..7bdd7b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,10 @@ jobs: id-token: write # Required for OIDC token (NuGet Trusted Publishing) steps: - name: 🚚 Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: 🛠️ Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 10.x @@ -51,15 +51,16 @@ jobs: run: dotnet pack --configuration Release --no-build --output ./nupkg - name: 📤 Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: packages path: ./nupkg - name: 📎 Add packages to release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 if: github.event_name == 'release' with: + tag_name: ${{ github.event.release.tag_name }} files: | ./nupkg/*.nupkg ./nupkg/*.snupkg