1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-11-16 04:33:49 +01:00

Fix: the moving of the make results

This commit is contained in:
Robert van den Breemen 2024-03-17 23:25:11 +01:00
parent 0976cca684
commit 7fe322e72b

View File

@ -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