Skip to content

Commit fcfd957

Browse files
committed
ci(workflows): upgrade GitHub Actions to Node 24 compatible versions
Upgrades GitHub Actions to resolve deprecation warnings related to Node.js 20: - actions/checkout -> v6 - actions/setup-dotnet -> v5 - softprops/action-gh-release -> v3 - actions/cache -> v5 - actions/upload-artifact -> v7
1 parent e99c6b5 commit fcfd957

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/PublishNugetPackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v4.1.4
11+
- uses: actions/checkout@v6
1212

13-
- uses: actions/setup-dotnet@v4
13+
- uses: actions/setup-dotnet@v5
1414
with:
1515
dotnet-version: '8.x'
1616

.github/workflows/PublishUnity3dPackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
DIST_DIR: /tmp/signed-upm-dist
1717

1818
steps:
19-
- uses: actions/checkout@v4.1.4
19+
- uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

@@ -93,7 +93,7 @@ jobs:
9393
9494
- name: Create github release
9595
if: ${{ steps.release-exists.outputs.exists == 'false' }}
96-
uses: softprops/action-gh-release@v2
96+
uses: softprops/action-gh-release@v3
9797
with:
9898
tag_name: v${{ steps.get-version.outputs.version }}
9999
name: ManualDi Unity3d v${{ steps.get-version.outputs.version }}

.github/workflows/TestCommon.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v4.1.4
11+
- uses: actions/checkout@v6
1212

13-
- uses: actions/setup-dotnet@v4
13+
- uses: actions/setup-dotnet@v5
1414
with:
1515
dotnet-version: '8.x'
1616

.github/workflows/TestUnity.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- ManualDi.Async.Unity3d
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
with:
2020
lfs: true
2121
- name: Setup common packages
2222
run: |
2323
sh setup.sh
24-
- uses: actions/cache@v3
24+
- uses: actions/cache@v5
2525
with:
2626
path: ${{ matrix.projectPath }}/Library
2727
key: Library-${{ matrix.projectPath }}
@@ -36,12 +36,12 @@ jobs:
3636
artifactsPath: artifacts
3737
githubToken: ${{ secrets.GITHUB_TOKEN }}
3838
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+my.assembly.*'
39-
- uses: actions/upload-artifact@v4
39+
- uses: actions/upload-artifact@v7
4040
if: always()
4141
with:
4242
name: Test results ${{ matrix.projectPath }}
4343
path: artifacts
44-
- uses: actions/upload-artifact@v4
44+
- uses: actions/upload-artifact@v7
4545
if: always()
4646
with:
4747
name: Coverage results ${{ matrix.projectPath }}

0 commit comments

Comments
 (0)