Skip to content

Commit

Permalink
Update build_fw.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak authored Feb 23, 2023
1 parent 211140d commit a6a3fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_fw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Compile all examples
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: MightyCore:avr:1284:BOD=disabled,LTO=Os,${{ matrix.fqbn }},variant=modelP --build-property compiler.cpp.extra_flags="-DCHANNELS=${{ matrix.channels }}"
arduino-board-fqbn: MightyCore:avr:1284:BOD=disabled,LTO=Os,${{ matrix.fqbn }},variant=modelP --build-property compiler.cpp.extra_flags="-DCHANNELS=${{ matrix.channels }} -DBUILD=${{ github.run_number }}"
platform-url: https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
sketch-names-find-start: fw/${{ matrix.type }}
set-build-path: true
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:

- run: |
cd build;
find -type f -exec bash -c 'mv $0 $(echo $0|sed "s/\//_/2")' {} \;
find -type f -exec bash -c 'mv $0 $(echo $0|sed "s/\//_/2"|sed 's/\./${{github.build_number}}./g')' {} \;
cd ..;
# - name: Upload Release Asset
Expand Down

0 comments on commit a6a3fdd

Please sign in to comment.