drop for all workflow 'Set build target for upload'
This commit is contained in:
parent
85fdc5dd16
commit
ea06f54abf
15
.github/workflows/PitchBlack-PBRP.yml
vendored
15
.github/workflows/PitchBlack-PBRP.yml
vendored
@ -154,17 +154,6 @@ jobs:
|
||||
export ALLOW_MISSING_DEPENDENCIES=true
|
||||
lunch ${{ env.DEVICE_MAKEFILE }}-eng && mka ${{ github.event.inputs.BUILD_TARGET }}
|
||||
|
||||
- name: Check Build Makefile
|
||||
run: |
|
||||
cd android-recovery
|
||||
if [ -f out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery.img ]; then
|
||||
echo "BUILD_TARGET_NAME=recovery" >> $GITHUB_ENV
|
||||
elif [ -f out/target/product/${{ github.event.inputs.DEVICE_NAME }}/boot.img ]; 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
|
||||
@ -173,8 +162,8 @@ jobs:
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
files: |
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ env.BUILD_TARGET_NAME }}.img
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/PBRP*.zip
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.zip
|
||||
name: Unofficial PBRP for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||
tag_name: ${{ github.run_id }}
|
||||
body: |
|
||||
|
14
.github/workflows/SkyHawk-SHRP.yml
vendored
14
.github/workflows/SkyHawk-SHRP.yml
vendored
@ -154,16 +154,6 @@ jobs:
|
||||
lunch ${{ env.DEVICE_MAKEFILE }}-eng && make clean && mka ${{ github.event.inputs.BUILD_TARGET }}image -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
|
||||
@ -172,8 +162,8 @@ jobs:
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
files: |
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ env.BUILD_TARGET_NAME }}.img
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/SHRP*.zip
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.zip
|
||||
name: Unofficial SHRP For ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||
tag_name: ${{ github.run_id }}
|
||||
body: |
|
||||
|
12
.github/workflows/TeamWin-TWRP.yml
vendored
12
.github/workflows/TeamWin-TWRP.yml
vendored
@ -159,16 +159,6 @@ jobs:
|
||||
lunch ${{ env.DEVICE_MAKEFILE }}-eng && make clean && make ${{ github.event.inputs.BUILD_TARGET }}image -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,7 +167,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
files: |
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ env.BUILD_TARGET_NAME }}.img
|
||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
||||
name: Unofficial TWRP for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||
tag_name: ${{ github.run_id }}
|
||||
body: |
|
||||
|
Loading…
Reference in New Issue
Block a user