Skip to content

Commit db2cdbd

Browse files
authored
chore: update GitHub Actions for Node 24 (#176)
1 parent f587ddc commit db2cdbd

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/main.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout main branch
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 0
3333

3434
- name: Setup .NET Core
35-
uses: actions/setup-dotnet@v4
35+
uses: actions/setup-dotnet@v5
3636
with:
3737
dotnet-version: ${{ env.DOTNET_VERSION }}
3838

@@ -48,7 +48,7 @@ jobs:
4848
# Upload the package using the SHA in the name of the artifact
4949
- name: Upload NuGet Package Artifacts
5050
if: github.event_name == 'release'
51-
uses: actions/upload-artifact@v4
51+
uses: actions/upload-artifact@v7
5252
with:
5353
name: nuget
5454
if-no-files-found: error
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: Upload Test Snapshots
7171
if: failure()
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v7
7373
with:
7474
name: verify-test-results
7575
retention-days: 7
@@ -80,12 +80,12 @@ jobs:
8080
runs-on: ubuntu-latest
8181
steps:
8282
- name: Checkout main branch
83-
uses: actions/checkout@v4
83+
uses: actions/checkout@v6
8484
with:
8585
fetch-depth: 0
8686

8787
- name: Setup .NET
88-
uses: actions/setup-dotnet@v4
88+
uses: actions/setup-dotnet@v5
8989
with:
9090
dotnet-version: ${{ env.DOTNET_VERSION }}
9191

@@ -112,13 +112,13 @@ jobs:
112112
id-token: write
113113
steps:
114114
# Download the NuGet packages created in the build job for this tagged commit.
115-
- uses: actions/download-artifact@v4
115+
- uses: actions/download-artifact@v8
116116
with:
117117
name: nuget
118118
path: .
119119

120120
- name: Setup .NET Core
121-
uses: actions/setup-dotnet@v4
121+
uses: actions/setup-dotnet@v5
122122
with:
123123
dotnet-version: ${{ env.DOTNET_VERSION }}
124124

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ jobs:
8585
private-key: ${{ secrets.GH_APP_POSTHOG_DOTNET_RELEASER_PRIVATE_KEY }}
8686

8787
- name: Checkout
88-
uses: actions/checkout@v4
88+
uses: actions/checkout@v6
8989
with:
9090
ref: main
9191
fetch-depth: 0
9292
token: ${{ steps.releaser.outputs.token }}
9393

9494
- name: Setup .NET
95-
uses: actions/setup-dotnet@v4
95+
uses: actions/setup-dotnet@v5
9696
with:
9797
dotnet-version: ${{ env.DOTNET_VERSION }}
9898

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24

0 commit comments

Comments
 (0)