Repair file path (OFRP, SHRP are supported)

Repair file path (OFRP, SHRP are supported)
This commit is contained in:
Aizawa Hikaru 2021-10-30 14:08:36 +08:00
parent 0b8021f0bf
commit 3db1cff345

View File

@ -79,7 +79,6 @@ jobs:
PATH=~/bin:$PATH PATH=~/bin:$PATH
cd workspace cd workspace
repo sync -j$(nproc --all) -f --force-sync repo sync -j$(nproc --all) -f --force-sync
ls -al
- name: Clone device - name: Clone device
run: | run: |
@ -101,7 +100,8 @@ jobs:
run: | run: |
PATH=~/bin:$PATH PATH=~/bin:$PATH
cd workspace cd workspace
zip ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/*.zip tree ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}
zip ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*.zip
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 }}/recovery.img
- name: Upload to Release - name: Upload to Release