chore: upgrade GitHub Actions to Node.js 24 compatible versions

- Upgrade actions/checkout from v4 to v7
- Upgrade actions/setup-dotnet from v4 to v5
- Upgrade actions/upload-artifact from v4 to v7
- Upgrade actions/download-artifact from v4 to v4 (already compatible)
- Upgrade ncipollo/release-action from v1 to v1.21.0

This addresses GitHub's deprecation of Node.js 20 and the upcoming
forced migration to Node.js 24 (effective June 2, 2026).
This commit is contained in:
lincube
2026-06-23 17:28:59 +08:00
parent 151ffb1f5e
commit c49677b958
6 changed files with 33 additions and 33 deletions

View File

@@ -37,7 +37,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive
@@ -64,7 +64,7 @@ jobs:
echo "RELEASE_TAG=${TAG}" >> "$GITHUB_ENV"
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-quality: preview