Skip to content

Commit 13b8cb8

Browse files
authored
Upgrade GitHub Actions for Node 24 compatibility (#20804)
1 parent f11968c commit 13b8cb8

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout PR branch
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434
with:
3535
ref: ${{ github.event.pull_request.head.sha }}
3636

@@ -55,12 +55,12 @@ jobs:
5555
if_no_artifact_found: warn
5656

5757
- name: Setup Node.js
58-
uses: actions/setup-node@v4
58+
uses: actions/setup-node@v6
5959
with:
6060
node-version: "22"
6161

6262
- name: Setup .NET Core # Required to execute ReportGenerator
63-
uses: actions/setup-dotnet@v4
63+
uses: actions/setup-dotnet@v5
6464
with:
6565
dotnet-version: 8.x
6666
dotnet-quality: "ga"
@@ -129,13 +129,13 @@ jobs:
129129
vsce package
130130
131131
- name: MSSQL - Upload VSIX files
132-
uses: actions/upload-artifact@v4
132+
uses: actions/upload-artifact@v6
133133
with:
134134
name: mssql-vsix
135135
path: ./extensions/mssql/*.vsix
136136

137137
- name: SqlProj - Upload VSIX files
138-
uses: actions/upload-artifact@v4
138+
uses: actions/upload-artifact@v6
139139
with:
140140
name: sql-database-projects-vsix
141141
path: ./extensions/sql-database-projects/*.vsix
@@ -341,7 +341,7 @@ jobs:
341341
echo "mssql_smoke_tests_pr_exit_code=$SMOKE_EXIT_CODE" >> $GITHUB_ENV
342342
343343
- name: Upload Smoke Test Screenshots
344-
uses: actions/upload-artifact@v4
344+
uses: actions/upload-artifact@v6
345345
with:
346346
name: smoke-test-failure-screenshots
347347
path: ./extensions/mssql/test-results/**/
@@ -375,7 +375,7 @@ jobs:
375375
toolpath: "reportgeneratortool"
376376

377377
- name: Upload coverage report artifact
378-
uses: actions/upload-artifact@v4
378+
uses: actions/upload-artifact@v6
379379
with:
380380
name: CoverageReport
381381
path: coveragereport

.github/workflows/publish-baseline.yml

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

1717
steps:
1818
- name: Checkout main branch
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020

2121
- name: Setup Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: "22"
2525

@@ -83,7 +83,7 @@ jobs:
8383
cat baseline-sizes.json
8484
8585
- name: Upload baseline sizes
86-
uses: actions/upload-artifact@v4
86+
uses: actions/upload-artifact@v6
8787
with:
8888
name: baseline-sizes
8989
path: baseline-sizes.json

0 commit comments

Comments
 (0)