Skip to content

Commit 6278e49

Browse files
committed
include sources in artifact
1 parent 755aaa7 commit 6278e49

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/compile.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,15 @@ jobs:
4747
device-os-version: ${{ matrix.platform.version }}
4848
sources-folder: ${{ matrix.program.src }}
4949

50-
- name: Upload artifact
50+
- name: Rename binary
51+
run: |
52+
mv ${{ steps.compile.outputs.firmware-path }} ${{ matrix.program.src }}/${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}.bin
53+
54+
- name: Upload binary
5155
uses: actions/upload-artifact@v4
5256
with:
5357
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
54-
path: ${{ steps.compile.outputs.firmware-path }}
58+
path: ${{ matrix.program.src }}
5559

5660
- name: Compile locally to debug
5761
if: ${{ failure() }}

0 commit comments

Comments
 (0)