[CI] Hash before uploading
Some checks failed
Build / Build (push) Failing after 3m17s

This commit is contained in:
Marius Alwan Meyer 2023-11-15 18:19:31 +00:00
parent d63021ee27
commit 698641a011

View File

@ -77,12 +77,6 @@ jobs:
- name: Zip Artifacts
run: zip firmware.zip corne_left_nice_nano_v2.uf2 corne_right_nice_nano_v2.uf2
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
path: firmware.zip
name: firmware.zip
- name: Hash west modules
id: hash-west
run: |
@ -90,4 +84,10 @@ jobs:
FILES=$(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort)
HASH="$(echo -n $FILES | sha256sum | head -c 64)"
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
echo "computed hash: $HASH"
echo "computed hash: $HASH"
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
path: firmware.zip
name: firmware.zip