артифакты

This commit is contained in:
Mit4el
2024-11-27 01:27:55 +03:00
parent a122de9b5d
commit 0bd525401b

View File

@@ -46,10 +46,10 @@ jobs:
- name: Rearrange Artifacts - name: Rearrange Artifacts
run: | run: |
mkdir -p artifacts/${{ matrix.board }} mkdir -p artifacts/${{ matrix.board }}
mv .pio/build/${{ matrix.board }}/*.bin artifacts/${{ matrix.board }} find .pio/build/${{ matrix.board }} -name "*.bin" -exec mv {} artifacts/${{ matrix.board }} \;
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
- name: Attach artifact - name: Attach artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: firmware name: firmware-${{ matrix.board }}-${{ github.run_number }}
path: artifacts/${{ matrix.board }} path: artifacts/${{ matrix.board }}