Skip to content

Commit

Permalink
Do not keep elf files anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jan 5, 2025
1 parent 546d34d commit f6255dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ jobs:
REF_NAME="${{ github.ref_name }}" pio run -e ${{ matrix.environment }}
mv .pio/build/${{ matrix.environment }}/firmware.bin ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-en.OTA.bin
mv .pio/build/${{ matrix.environment }}/firmware.factory.bin ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-en.FACTORY.bin
mv .pio/build/${{ matrix.environment }}/firmware.elf ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-en.elf
# mv .pio/build/${{ matrix.environment }}/firmware.elf ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-en.elf
# lang: fr
sed -i 's/YASOLR_LANG_EN/YASOLR_LANG_FR/' platformio.ini
REF_NAME="${{ github.ref_name }}" pio run -e ${{ matrix.environment }}
mv .pio/build/${{ matrix.environment }}/firmware.bin ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-fr.OTA.bin
mv .pio/build/${{ matrix.environment }}/firmware.factory.bin ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-fr.FACTORY.bin
mv .pio/build/${{ matrix.environment }}/firmware.elf ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-fr.elf
# mv .pio/build/${{ matrix.environment }}/firmware.elf ./${{ needs.pio_envs.outputs.pio_name }}-$ref-${{ matrix.environment }}-fr.elf
- name: Upload
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f6255dd

Please sign in to comment.