Skip to content

gh-actions: Fix cargo-make uploads #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Firmware Checks
name: Firmware

on:
push:
Expand Down Expand Up @@ -61,28 +61,31 @@ jobs:
- name: Upload ledmatrix files
uses: actions/upload-artifact@v3
with:
name: inputmodule_fw_bin
name: ledmatrix_fw_${{github.sha}}
path: |
ledmatrix.bin
ledmatrix.uf2
ledmatrix_10k.uf2
ledmatrix_evt.uf2
# Main firmware
target/thumbv6m-none-eabi/release/ledmatrix.bin
target/thumbv6m-none-eabi/release/ledmatrix.uf2
# EVT 10k resistor
target/thumbv6m-none-eabi/release/ledmatrix_10k.uf2
# EVT (27k) resistor
target/thumbv6m-none-eabi/release/ledmatrix_evt.uf2

- name: Upload b1display files
uses: actions/upload-artifact@v3
with:
name: inputmodule_fw_uf2
name: b1display_fw_${{github.sha}}
path: |
b1display.bin
b1display.uf2
target/thumbv6m-none-eabi/release/b1display.bin
target/thumbv6m-none-eabi/release/b1display.uf2

- name: Upload c1minimal files
uses: actions/upload-artifact@v3
with:
name: inputmodule_fw_uf2
name: c1minimal_fw_${{github.sha}}
path: |
c1minimal.bin
c1minimal.uf2
target/thumbv6m-none-eabi/release/c1minimal.bin
target/thumbv6m-none-eabi/release/c1minimal.uf2

linting:
name: Linting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/software.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Software Checks
name: Software

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/traditional-cargo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test builds without cargo-make
# Not the recommended path, but should make sure it still works
name: Traditional Cargo Workflow
name: Traditional Cargo

on:
push:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
run: cargo run --release --target x86_64-pc-windows-msvc -p inputmodule-control -- --help | grep 'RAW HID and VIA commandline'

lint-format:
name: Lint and format check
name: Lint and format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down