ci: update GitHub Actions to Node.js 24 compatible versions
Node.js 20 is deprecated on GitHub Actions runners and will be forced to Node.js 24 starting June 2, 2026, with Node.js 20 removed entirely on September 16, 2026. Update all actions to versions that support Node.js 24: - actions/checkout: v4/master -> v6 - actions/upload-artifact: v4 -> v7 - actions/download-artifact: v4 -> v8 - softprops/action-gh-release: v1 -> v2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -100,7 +100,7 @@ jobs:
|
||||
shell: ${{ matrix.shell }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install prerequisites (${{ matrix.target }} @ ${{ matrix.platform }})
|
||||
if : ${{ matrix.platform != 'x86_64-w64-mingw32' }}
|
||||
@@ -160,20 +160,20 @@ jobs:
|
||||
|
||||
- name: Save build/build.ninja for failed builds
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: build-ninja-${{ matrix.target }}-${{ matrix.platform }}
|
||||
path: build/build.ninja
|
||||
|
||||
- name: Dist filelist (dbg) (${{ matrix.target }} @ ${{ matrix.platform }})
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: dist-filelist-${{ matrix.target }}-${{ matrix.platform }}
|
||||
path: |
|
||||
dist/dist-filelist-*
|
||||
|
||||
- name: Dist artifacts (${{ matrix.target }} @ ${{ matrix.platform }})
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: dist-qemu-${{ matrix.target }}-${{ matrix.platform }}
|
||||
path: |
|
||||
@@ -183,6 +183,8 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
needs: [ Vars, Build ]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps :
|
||||
- name: Create a source archive
|
||||
id: create-source
|
||||
@@ -206,13 +208,13 @@ jobs:
|
||||
ls -l
|
||||
|
||||
- name: Source filelist (dbg)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: src-filelist
|
||||
path: |
|
||||
src-filelist.txt
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
pattern: dist-qemu-*
|
||||
path: dist
|
||||
@@ -243,7 +245,7 @@ jobs:
|
||||
rm -rf -- upload && mkdir -p upload && mv -v ${DIST_FILE_LIST} upload/
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: true
|
||||
files: upload/*
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
name: Sync Issue Comments to Jira
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v6
|
||||
- name: Sync issue comments to JIRA
|
||||
uses: espressif/github-actions/sync_issues_to_jira@master
|
||||
env:
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
name: Sync issues to Jira
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v6
|
||||
- name: Sync GitHub issues to Jira project
|
||||
uses: espressif/github-actions/sync_issues_to_jira@master
|
||||
env:
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
name: Sync PRs to Jira
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v6
|
||||
- name: Sync PRs to Jira project
|
||||
uses: espressif/github-actions/sync_issues_to_jira@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user