Update SkyHawk-SHRP.yml
This commit is contained in:
parent
6e81f20ef0
commit
a50f828138
14
.github/workflows/SkyHawk-SHRP.yml
vendored
14
.github/workflows/SkyHawk-SHRP.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user