Update SkyHawk-SHRP.yml

This commit is contained in:
ragebreaker 2024-08-15 22:08:56 +05:30 committed by GitHub
parent 6e81f20ef0
commit a50f828138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,16 +159,6 @@ jobs:
lunch ${{ env.DEVICE_MAKEFILE }}-eng && make clean && mka ${{ github.event.inputs.BUILD_TARGET }} -j$(nproc --all)
echo "Done building your ${{ github.event.inputs.BUILD_TARGET }}.img"
- name: Set build target for upload
run: |
if [ ${{ github.event.inputs.BUILD_TARGET }} == 'recovery' ]; then
echo "BUILD_TARGET_NAME=recovery" >> $GITHUB_ENV
elif [ ${{ github.event.inputs.BUILD_TARGET }} == 'boot' ]; then
echo "BUILD_TARGET_NAME=boot" >> $GITHUB_ENV
else
echo "BUILD_TARGET_NAME=vendor_boot" >> $GITHUB_ENV
fi
- name: Set Build Date # Output will be use in Release
run: |
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
@ -177,9 +167,9 @@ jobs:
uses: softprops/action-gh-release@master
with:
files: |
${{ env.OUT_DIR }}/${{ github.event.inputs.DEVICE_NAME }}/${{ github.event.inputs.BUILD_TARGET_NAME }}.img
${{ env.OUT_DIR }}/${{ github.event.inputs.DEVICE_NAME }}/${{ github.event.inputs.BUILD_TARGET }}.img
${{ env.OUT_DIR }}/${{ github.event.inputs.DEVICE_NAME }}/SHRP*.zip
${{ env.OUT_DIR }}/${{ github.event.inputs.DEVICE_NAME }}/ramdisk-recovery.*
${{ env.OUT_DIR }}/${{ github.event.inputs.DEVICE_NAME }}/ramdisk*.*
name: Unofficial SHRP For ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
tag_name: ${{ github.run_id }}
body: |