diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index b6da378..9f176a2 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -14,8 +14,8 @@ runs: run: | make -j$(nproc) find build -type f - for file in build/**/*.bin; do mv "$file" "build/$(basename ${file%.*})-${{steps.semver.outputs.semver}}.bin"; done - for file in build/**/*.elf; do mv "$file" "build/$(basename ${file%.*})-${{steps.semver.outputs.semver}}.elf"; done + for file in build/**/*.ino.bin; do mv "$file" "build/$(basename -s .ino.bin ${file})-${{steps.semver.outputs.semver}}.ino.bin"; done + for file in build/**/*.ino.elf; do mv "$file" "build/$(basename -s .ino.elf ${file})-${{steps.semver.outputs.semver}}.ino.elf"; done shell: bash - id: filesys run: |