Skip to content

Commit 977a2ad

Browse files
mkholtClaude <noreply@anthropic.com> via Conducktor
andauthored
Fix release pipeline and bump GitHub Actions to Node 24 runtimes (#14)
- 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 <noreply@anthropic.com> via Conducktor <conducktor@contextand.com>
1 parent 60fa101 commit 977a2ad

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: 🚚 Get latest code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v7
1818

1919
- name: 🛠️ Setup .NET
20-
uses: actions/setup-dotnet@v4
20+
uses: actions/setup-dotnet@v5
2121
with:
2222
dotnet-version: 10.x
2323

@@ -46,7 +46,7 @@ jobs:
4646
run: dotnet pack --configuration Release --no-build --output ./nupkg
4747

4848
- name: 📤 Upload artifacts
49-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v7
5050
with:
5151
name: packages
5252
path: ./nupkg

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
id-token: write # Required for OIDC token (NuGet Trusted Publishing)
2020
steps:
2121
- name: 🚚 Checkout code
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v7
2323

2424
- name: 🛠️ Setup .NET
25-
uses: actions/setup-dotnet@v4
25+
uses: actions/setup-dotnet@v5
2626
with:
2727
dotnet-version: 10.x
2828

@@ -51,15 +51,16 @@ jobs:
5151
run: dotnet pack --configuration Release --no-build --output ./nupkg
5252

5353
- name: 📤 Upload artifacts
54-
uses: actions/upload-artifact@v4
54+
uses: actions/upload-artifact@v7
5555
with:
5656
name: packages
5757
path: ./nupkg
5858

5959
- name: 📎 Add packages to release
60-
uses: softprops/action-gh-release@v2
60+
uses: softprops/action-gh-release@v3
6161
if: github.event_name == 'release'
6262
with:
63+
tag_name: ${{ github.event.release.tag_name }}
6364
files: |
6465
./nupkg/*.nupkg
6566
./nupkg/*.snupkg

0 commit comments

Comments
 (0)