Reverted 'Set build target for upload' for all workflows
This commit is contained in:
parent
9470e1f037
commit
0ccec8f401
6
.github/workflows/OrangeFox-OFRP.yml
vendored
6
.github/workflows/OrangeFox-OFRP.yml
vendored
@ -158,8 +158,10 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
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 }}/*.zip
|
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img.tar
|
||||||
|
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 }}/ramdisk*.img
|
||||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
||||||
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
||||||
name: Unofficial OrangeFox for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
name: Unofficial OrangeFox for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||||
|
16
.github/workflows/PitchBlack-PBRP.yml
vendored
16
.github/workflows/PitchBlack-PBRP.yml
vendored
@ -154,6 +154,17 @@ jobs:
|
|||||||
export ALLOW_MISSING_DEPENDENCIES=true
|
export ALLOW_MISSING_DEPENDENCIES=true
|
||||||
lunch ${{ env.DEVICE_MAKEFILE }}-eng && mka ${{ github.event.inputs.BUILD_TARGET }}
|
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
|
- name: Set Build Date # Output will be use in Release
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
|
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||||
@ -162,8 +173,9 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
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 }}/*.zip
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/PBRP*.zip
|
||||||
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/ramdisk*.img
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
||||||
name: Unofficial PBRP for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
name: Unofficial PBRP for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||||
|
15
.github/workflows/SkyHawk-SHRP.yml
vendored
15
.github/workflows/SkyHawk-SHRP.yml
vendored
@ -154,6 +154,16 @@ jobs:
|
|||||||
lunch ${{ env.DEVICE_MAKEFILE }}-eng && make clean && mka ${{ github.event.inputs.BUILD_TARGET }}image -j$(nproc --all)
|
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"
|
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
|
- name: Set Build Date # Output will be use in Release
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
|
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||||
@ -162,8 +172,9 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
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 }}/*.zip
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/SHRP*.zip
|
||||||
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/ramdisk*.img
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
||||||
name: Unofficial SHRP For ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
name: Unofficial SHRP For ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||||
|
13
.github/workflows/TeamWin-TWRP.yml
vendored
13
.github/workflows/TeamWin-TWRP.yml
vendored
@ -159,6 +159,16 @@ jobs:
|
|||||||
lunch ${{ env.DEVICE_MAKEFILE }}-eng && make clean && make ${{ github.event.inputs.BUILD_TARGET }}image -j$(nproc --all)
|
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"
|
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
|
- name: Set Build Date # Output will be use in Release
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
|
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||||
@ -167,7 +177,8 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img
|
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 }}/ramdisk*.img
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.gz
|
||||||
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
android-recovery/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.lz4
|
||||||
name: Unofficial TWRP for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
name: Unofficial TWRP for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }}
|
||||||
|
Loading…
Reference in New Issue
Block a user