yml: moved md5 value in body instead of upload as file
* Apparently, it causes confusion on which file to download during build testing (despite, of course, the obvious file size difference). Signed-off-by: Carlo Dandan <carlodandan.personal@proton.me>
This commit is contained in:
@@ -115,11 +115,13 @@ jobs:
|
||||
cd ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}
|
||||
if [ -f out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img ]; then
|
||||
echo "CHECK_IMG_IS_OK=true" >> $GITHUB_ENV
|
||||
echo "MD5_IMG=$(md5sum out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img | cut -d ' ' -f 1)" >> $GITHUB_ENV
|
||||
else
|
||||
echo "Recovery out directory is empty."
|
||||
fi
|
||||
if [ -f out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.zip ]; then
|
||||
echo "CHECK_ZIP_IS_OK=true" >> $GITHUB_ENV
|
||||
echo "MD5_ZIP=$(md5sum out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.zip | cut -d ' ' -f 1)" >> $GITHUB_ENV
|
||||
else
|
||||
echo "Recovery out directory is empty."
|
||||
fi
|
||||
@@ -131,11 +133,11 @@ jobs:
|
||||
files: |
|
||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img
|
||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.zip
|
||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img.md5
|
||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.zip.md5
|
||||
name: Unofficial OrangeFox for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||
tag_name: ${{ github.run_id }}
|
||||
body: |
|
||||
Build: ${{ github.event.inputs.MANIFEST_BRANCH }}
|
||||
Device: [Device Tree/Branch](${{ github.event.inputs.DEVICE_TREE }}/tree/${{ github.event.inputs.DEVICE_TREE_BRANCH }})
|
||||
Commit: Most recent [commit](${{ github.event.inputs.DEVICE_TREE }}/commit/${{ env.COMMIT_ID }}) during building.
|
||||
MD5 (img): ${{ env.MD5_IMG }}
|
||||
MD5 (zip): ${{ env.MD5_ZIP }}
|
||||
|
||||
Reference in New Issue
Block a user