Skip to content

Commit aad0d1d

Browse files
author
luoweiyuan
committed
ci: Upgrade GitHub Actions for Node.js 24.
Signed-off-by: luoweiyuan <luoweiyuan@m5stack.com>
1 parent bbaf843 commit aad0d1d

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build-firmware.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
outputs:
2121
cache-hit: ${{ steps.cache-esp-idf.outputs.cache-hit }}
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424

2525
- name: Install dependencies
2626
run: |
@@ -29,7 +29,7 @@ jobs:
2929
python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
3030
3131
- name: Cache esp-idf
32-
uses: actions/cache@v4
32+
uses: actions/cache@v5
3333
id: cache-esp-idf
3434
with:
3535
path: |
@@ -109,7 +109,7 @@ jobs:
109109
- SEEED_STUDIO_XIAO_ESP32S3
110110
max-parallel: 4
111111
steps:
112-
- uses: actions/checkout@v4
112+
- uses: actions/checkout@v5
113113

114114
- name: Install dependencies
115115
run: |
@@ -118,7 +118,7 @@ jobs:
118118
python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
119119
120120
- name: Restore ESP-IDF cache
121-
uses: actions/cache@v4
121+
uses: actions/cache@v5
122122
with:
123123
path: |
124124
~/.espressif
@@ -151,20 +151,20 @@ jobs:
151151
152152
- name: Upload M5Stack firmware artifact
153153
if: inputs.upload_artifacts && (startsWith(matrix.board, 'M5STACK') || matrix.board == 'Nesso_N1')
154-
uses: actions/upload-artifact@v4
154+
uses: actions/upload-artifact@v6
155155
with:
156156
name: firmware-${{ matrix.board }}
157157
path: m5stack/build-${{ matrix.board }}/uiflow-*-*.bin
158158

159159
- name: Upload third-party firmware artifact
160160
if: inputs.upload_artifacts && !(startsWith(matrix.board, 'M5STACK') || matrix.board == 'Nesso_N1')
161-
uses: actions/upload-artifact@v4
161+
uses: actions/upload-artifact@v6
162162
with:
163163
name: firmware-${{ matrix.board }}
164164
path: third-party/build-${{ matrix.board }}/uiflow-*-*.bin
165165

166166
- name: Upload firmware to release
167-
uses: softprops/action-gh-release@v2
167+
uses: softprops/action-gh-release@v3
168168
if: inputs.upload_release && startsWith(github.ref, 'refs/tags/')
169169
env:
170170
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/code_formatting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-python@v5
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-python@v6
1818
- name: Install packages
1919
run: source tools/ci.sh && ci_code_formatting_setup
2020
- name: Run code formatting

0 commit comments

Comments
 (0)