Skip to content
Merged
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
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
environment: [default, x4-pro, x4-classic, sticky]
environment: [debug, x4-pro-debug, x4-classic-debug, sticky-debug]
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -114,36 +114,36 @@ jobs:
} >> "$GITHUB_STEP_SUMMARY"

- name: Upload firmware artifacts
if: matrix.environment == 'default'
if: matrix.environment == 'debug'
uses: actions/upload-artifact@v7
with:
name: firmware-x3-x4
name: firmware-x3-x4-debug
path: |
.pio/build/default/firmware-x3-x4.bin
.pio/build/debug/firmware-x3-x4.bin
if-no-files-found: error

- name: Upload X4 Pro firmware artifact
if: matrix.environment == 'x4-pro'
if: matrix.environment == 'x4-pro-debug'
uses: actions/upload-artifact@v7
with:
name: firmware-x4-pro
path: .pio/build/x4-pro/firmware-x4-pro.bin
name: firmware-x4-pro-debug
path: .pio/build/x4-pro-debug/firmware-x4-pro.bin
if-no-files-found: error

- name: Upload X4 Classic firmware artifact
if: matrix.environment == 'x4-classic'
if: matrix.environment == 'x4-classic-debug'
uses: actions/upload-artifact@v7
with:
name: firmware-x4-classic
path: .pio/build/x4-classic/firmware-x4-classic.bin
name: firmware-x4-classic-debug
path: .pio/build/x4-classic-debug/firmware-x4-classic.bin
if-no-files-found: error

- name: Upload Sticky firmware artifact
if: matrix.environment == 'sticky'
if: matrix.environment == 'sticky-debug'
uses: actions/upload-artifact@v7
with:
name: firmware-sticky
path: .pio/build/sticky/firmware-sticky.bin
name: firmware-sticky-debug
path: .pio/build/sticky-debug/firmware-sticky.bin
if-no-files-found: error

# This job is used as the PR required actions check, allows for changes to other steps in the future without breaking
Expand Down
Loading