Modify upload file rules: add OFRP and SHRP file names

Modify upload file rules: add OFRP and SHRP file names
This commit is contained in:
Aizawa Hikaru 2021-10-30 13:17:21 +08:00
parent 2c0b9864ff
commit 01a03b7fc2

View File

@ -103,8 +103,10 @@ jobs:
run: | run: |
PATH=~/bin:$PATH PATH=~/bin:$PATH
cd workspace cd workspace
zip ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.zip zip ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/OrangeFox-Unofficial-${{ github.event.inputs.DEVICE_NAME }}.zip
zip -m ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.img zip -m ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/OrangeFox-Unofficial-${{ github.event.inputs.DEVICE_NAME }}.img
zip -m ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery.img
zip -m ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}/SHRP_*.zip
- name: Upload to Release - name: Upload to Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1