diff --git a/.github/workflows/pifile.yml b/.github/workflows/pifile.yml index f09242a1..53360f0a 100644 --- a/.github/workflows/pifile.yml +++ b/.github/workflows/pifile.yml @@ -75,19 +75,19 @@ jobs: name: Package zip id: packagezip run: | - IMG_FILENAME="crankshaft-${{ steps.get_version.outputs.version }}.img" - ZIP_FILENAME="crankshaft-${{ steps.get_version.outputs.version }}.zip" - MD5HASH="${IMG_FILENAME}.md5" - SHA1HASH="${IMG_FILENAME}.sha1" - SHA256HASH="${IMG_FILENAME}.sha256" - md5sum "${IMG_FILENAME}" > "${MD5HASH}" - sha1sum "${IMG_FILENAME}" > "${SHA1HASH}" - sha256sum "${IMG_FILENAME}" > "${SHA256HASH}" - zip "${ZIP_FILENAME}" "${IMG_FILENAME}" "${MD5HASH}" "${SHA1HASH}" "${SHA256HASH}" - echo ::set-output name=ZIP_FILENAME::"${ZIP_FILENAME}" - echo ::set-output name=MD5HASH::"${MD5HASH}" - echo ::set-output name=SHA1HASH::"${SHA1HASH}" - echo ::set-output name=SHA256HASH::"${SHA256HASH}" + IMG_FILENAME="crankshaft-${{ steps.get_version.outputs.version }}.img" + ZIP_FILENAME="crankshaft-${{ steps.get_version.outputs.version }}.zip" + MD5HASH="${IMG_FILENAME}.md5" + SHA1HASH="${IMG_FILENAME}.sha1" + SHA256HASH="${IMG_FILENAME}.sha256" + md5sum "${IMG_FILENAME}" > "${MD5HASH}" + sha1sum "${IMG_FILENAME}" > "${SHA1HASH}" + sha256sum "${IMG_FILENAME}" > "${SHA256HASH}" + zip "${ZIP_FILENAME}" "${IMG_FILENAME}" "${MD5HASH}" "${SHA1HASH}" "${SHA256HASH}" + echo ::set-output name=ZIP_FILENAME::"${ZIP_FILENAME}" + echo ::set-output name=MD5HASH::"${MD5HASH}" + echo ::set-output name=SHA1HASH::"${SHA1HASH}" + echo ::set-output name=SHA256HASH::"${SHA256HASH}" - name: Upload build artifacts id: upload_deploy