korrektur Checksum
This commit is contained in:
1 parent
e1ee1c560e
commit
cbceec1887
1 file changed
+3
-2
@@ -52,8 +52,9 @@ jobs:
|
||||
run: python3 -m platformio run --environment "${{ matrix.environment }}"
|
||||
- name: Verify firmware and create checksum
|
||||
run: |
|
||||
test -n "$(find ".pio/build/${{ matrix.environment }}" -maxdepth 1 -type f -name 'firmware_*.bin' -print -quit)
|
||||
sha256sum ".pio/build/${{ matrix.environment }}"/firmware_*.bin > "firmware-${{ matrix.environment }}.sha256"
|
||||
FIRMWARE_FILE=$(find ".pio/build/${{ matrix.environment }}" -maxdepth 1 -type f -name 'firmware_*.bin' -print -quit)
|
||||
test -n "$FIRMWARE_FILE"
|
||||
sha256sum "$FIRMWARE_FILE" > "firmware-${{ matrix.environment }}.sha256"
|
||||
- name: Archive firmware
|
||||
uses: christopherhx/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user