Skip to content

Commit deff5e1

Browse files
committed
.github: fixed Node.js 20 updates
1 parent 0f7c227 commit deff5e1

File tree

8 files changed

+25
-23
lines changed

8 files changed

+25
-23
lines changed

.github/actions/mpy_cross/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
id: download-mpy-cross
1717
if: inputs.download == 'true'
1818
continue-on-error: true
19-
uses: actions/download-artifact@v3
19+
uses: actions/download-artifact@v4
2020
with:
2121
name: mpy-cross
2222
path: mpy-cross/build
@@ -36,7 +36,7 @@ runs:
3636
- name: Upload mpy-cross
3737
if: inputs.download == 'false' || steps.download-mpy-cross.outcome == 'failure'
3838
continue-on-error: true
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: mpy-cross
4242
path: mpy-cross/build/mpy-cross

.github/workflows/build-boards.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
board: ${{ fromJSON(inputs.boards) }}
2727
steps:
2828
- name: Set up repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
with:
3131
submodules: false
32+
show-progress: false
3233
fetch-depth: 1
3334
- name: Set up python
34-
uses: actions/setup-python@v4
35+
uses: actions/setup-python@v5
3536
with:
3637
python-version: 3.x
3738
- name: Set up port
@@ -75,7 +76,7 @@ jobs:
7576
PULL: ${{ github.event.number }}
7677

7778
- name: Upload artifact
78-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
7980
with:
8081
name: ${{ matrix.board }}
8182
path: bin/${{ matrix.board }}

.github/workflows/build-mpy-cross.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
OS_static-raspbian: linux-raspbian
2929
steps:
3030
- name: Set up repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
submodules: false
34+
show-progress: false
3435
fetch-depth: 1
3536
- name: Set up python
36-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3738
with:
3839
python-version: 3.x
3940
- name: Set up submodules
@@ -61,7 +62,7 @@ jobs:
6162
echo >> $GITHUB_ENV "OS=${{ env[format('OS_{0}', matrix.mpy-cross)] }}"
6263
6364
- name: Upload artifact
64-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6566
with:
6667
name: mpy-cross.${{ env.EX }}
6768
path: mpy-cross/build-${{ matrix.mpy-cross }}/mpy-cross.${{ env.EX }}

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
submodules: false
34-
progress: false
34+
show-progress: false
3535
fetch-depth: 1
3636
- name: Set up python
3737
uses: actions/setup-python@v5
@@ -112,7 +112,7 @@ jobs:
112112
uses: actions/checkout@v4
113113
with:
114114
submodules: false
115-
progress: false
115+
show-progress: false
116116
fetch-depth: 1
117117
- name: Set up python
118118
uses: actions/setup-python@v5
@@ -127,20 +127,20 @@ jobs:
127127
msgfmt --version
128128
- name: Build mpy-cross
129129
run: make -C mpy-cross -j2
130-
- uses: actions/upload-artifact@v3
130+
- uses: actions/upload-artifact@v4
131131
with:
132132
name: mpy-cross-macos-11-x64
133133
path: mpy-cross/build/mpy-cross
134134
- name: Build mpy-cross (arm64)
135135
run: make -C mpy-cross -j2 -f Makefile.m1 V=2
136-
- uses: actions/upload-artifact@v3
136+
- uses: actions/upload-artifact@v4
137137
with:
138138
name: mpy-cross-macos-11-arm64
139139
path: mpy-cross/build-arm64/mpy-cross-arm64
140140
- name: Make universal binary
141141
run: lipo -create -output mpy-cross-macos-universal mpy-cross/build/mpy-cross mpy-cross/build-arm64/mpy-cross-arm64
142142
- name: Upload artifact
143-
uses: actions/upload-artifact@v3
143+
uses: actions/upload-artifact@v4
144144
with:
145145
name: mpy-cross-macos-11-universal
146146
path: mpy-cross-macos-universal
@@ -168,7 +168,7 @@ jobs:
168168
uses: actions/checkout@v4
169169
with:
170170
submodules: false
171-
progress: false
171+
show-progress: false
172172
fetch-depth: 1
173173
- name: Set up python
174174
uses: actions/setup-python@v5
@@ -183,20 +183,20 @@ jobs:
183183
pip install -r requirements-doc.txt
184184
- name: Build and Validate Stubs
185185
run: make check-stubs -j2
186-
- uses: actions/upload-artifact@v3
186+
- uses: actions/upload-artifact@v4
187187
with:
188188
name: stubs
189189
path: circuitpython-stubs/dist/*
190190
- name: Test Documentation Build (HTML)
191191
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
192-
- uses: actions/upload-artifact@v3
192+
- uses: actions/upload-artifact@v4
193193
with:
194194
name: docs
195195
path: _build/html
196196
- name: Test Documentation Build (LaTeX/PDF)
197197
run: |
198198
make latexpdf
199-
- uses: actions/upload-artifact@v3
199+
- uses: actions/upload-artifact@v4
200200
with:
201201
name: docs
202202
path: _build/latex
@@ -266,7 +266,7 @@ jobs:
266266
uses: actions/checkout@v4
267267
with:
268268
submodules: false
269-
progress: false
269+
show-progress: false
270270
fetch-depth: 1
271271
- name: Set up submodules
272272
uses: ./.github/actions/deps/submodules

.github/workflows/create-website-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121
with:
2222
submodules: false
23-
progress: false
23+
show-progress: false
2424
fetch-depth: 1
2525
- name: Set up python
2626
uses: actions/setup-python@v5

.github/workflows/custom-board-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: make -j2 ${{ inputs.flags }} BOARD=${{ inputs.board }} DEBUG=${{ inputs.debug && '1' || '0' }} TRANSLATION=${{ inputs.language }}
8585
working-directory: ports/${{ steps.set-up-port.outputs.port }}
8686
- name: Upload artifact
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
with:
8989
name: ${{ inputs.board }}-${{ inputs.language }}-${{ inputs.version }}${{ inputs.flags != '' && '-custom' || '' }}${{ inputs.debug && '-debug' || '' }}
9090
path: ports/${{ steps.set-up-port.outputs.port }}/build-${{ inputs.board }}/firmware.*

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121
with:
2222
submodules: false
23-
progress: false
23+
show-progress: false
2424
fetch-depth: 1
2525
- name: Set up python
2626
uses: actions/setup-python@v5
@@ -41,7 +41,7 @@ jobs:
4141
run: git diff > ~/pre-commit.patch
4242
- name: Upload patch
4343
if: failure()
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: patch
4747
path: ~/pre-commit.patch

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/checkout@v4
2828
with:
2929
submodules: false
30-
progress: false
30+
show-progress: false
3131
fetch-depth: 1
3232
- name: Set up python
3333
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)