Skip to content

Commit 6d0f0b7

Browse files
committed
gh-actions: Combine files per module, not per filetype
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent f5f144e commit 6d0f0b7

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.github/workflows/firmware.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,6 @@ jobs:
4646
cargo make --cwd c1minimal uf2
4747
cargo make --cwd ledmatrix uf2
4848
49-
- name: Upload UF2 files
50-
uses: actions/upload-artifact@v3
51-
with:
52-
name: inputmodule_fw_uf2
53-
path: |
54-
b1display.uf2
55-
c1minimal.uf2
56-
ledmatrix.uf2
57-
5849
- name: Convert to bin format
5950
run: |
6051
sudo apt-get update
@@ -63,14 +54,29 @@ jobs:
6354
cargo make --cwd c1minimal bin
6455
cargo make --cwd ledmatrix bin
6556
66-
- name: Upload bin files
57+
- name: Upload ledmatrix files
6758
uses: actions/upload-artifact@v3
6859
with:
6960
name: inputmodule_fw_bin
61+
path: |
62+
ledmatrix.bin
63+
ledmatrix.uf2
64+
65+
- name: Upload b1display files
66+
uses: actions/upload-artifact@v3
67+
with:
68+
name: inputmodule_fw_uf2
7069
path: |
7170
b1display.bin
71+
b1display.uf2
72+
73+
- name: Upload c1minimal files
74+
uses: actions/upload-artifact@v3
75+
with:
76+
name: inputmodule_fw_uf2
77+
path: |
7278
c1minimal.bin
73-
ledmatrix.bin
79+
c1minimal.uf2
7480
7581
linting:
7682
name: Linting

.github/workflows/traditional-cargo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121

2222
jobs:
2323
firmware:
24-
name: Building
24+
name: Build firmware
2525
runs-on: [ubuntu-latest]
2626
steps:
2727
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)