diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 6b75ec7..37b178d 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -19,8 +19,8 @@ runs: run: | make -j$(nproc) find build -type f - for file in build/**/*.bin; do mv "$file" "build/${file##*/}-${{steps.semver.outputs.semver}}.bin"; done - for file in build/**/*.elf; do mv "$file" "build/${file##*/}-${{steps.semver.outputs.semver}}.elf"; done + for file in build/**/*.bin; do mv "$file" "build/${file%.*}-${{steps.semver.outputs.semver}}.bin"; done + for file in build/**/*.elf; do mv "$file" "build/${file%.*}-${{steps.semver.outputs.semver}}.elf"; done shell: bash - id: upload uses: actions/upload-artifact@v4