1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-09-29 20:04:13 +02: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 - id: build
run: | run: |
make -j$(nproc) make -j$(nproc)
for file in build/**/*.bin; do mv "$file" "${file%.*}-${{steps.semver.outputs.semver}}.bin"; done find build -type f
for file in build/**/*.elf; do mv "$file" "${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 shell: bash
- id: upload - id: upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4