diff --git a/.github/workflows/build_fw.yml b/.github/workflows/build_fw.yml index fbc3436..20f104b 100644 --- a/.github/workflows/build_fw.yml +++ b/.github/workflows/build_fw.yml @@ -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 @@ -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