diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 722e57d..6b75ec7 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -18,8 +18,9 @@ runs: - id: build run: | make -j$(nproc) - for file in build/**/*.bin; do mv "$file" "${file%.*}-${{steps.semver.outputs.semver}}.bin"; done - for file in build/**/*.elf; do mv "$file" "${file%.*}-${{steps.semver.outputs.semver}}.elf"; done + 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 shell: bash - id: upload uses: actions/upload-artifact@v4