Skip to content

Commit 4148faa

Browse files
committed
github: don't publish artifacts for NXT
We currently don't maintain NXT so there is nothing to upload. This fixes warning show on GitHub actions status page. Issue: pybricks/pybricks-micropython#28
1 parent 83619b8 commit 4148faa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,25 +217,25 @@ jobs:
217217
if: ${{ github.ref == 'refs/heads/master' }}
218218
run: make -C bricks/${{ matrix.hub }}
219219
- name: Upload firmware
220-
if: ${{ success() }}
220+
if: ${{ success() && matrix.hub != 'nxt' }}
221221
uses: actions/upload-artifact@v2
222222
with:
223223
name: ${{ matrix.hub }}-firmware
224224
path: bricks/${{ matrix.hub }}/build/firmware-base.bin
225225
- name: Upload firmware metadata
226-
if: ${{ success() }}
226+
if: ${{ success() && matrix.hub != 'nxt }}
227227
uses: actions/upload-artifact@v2
228228
with:
229229
name: ${{ matrix.hub }}-firmware
230230
path: bricks/${{ matrix.hub }}/build/firmware.metadata.json
231231
- name: Upload main.py
232-
if: ${{ success() }}
232+
if: ${{ success() && matrix.hub != 'nxt }}
233233
uses: actions/upload-artifact@v2
234234
with:
235235
name: ${{ matrix.hub }}-firmware
236236
path: bricks/${{ matrix.hub }}/main.py
237237
- name: Upload ReadMe_OSS.txt
238-
if: ${{ success() }}
238+
if: ${{ success( && matrix.hub != 'nxt }}
239239
uses: actions/upload-artifact@v2
240240
with:
241241
name: ${{ matrix.hub }}-firmware

0 commit comments

Comments
 (0)