Remove compress

Remove compress
This commit is contained in:
Aizawa Hikaru 2021-10-30 14:45:46 +08:00
parent e1deb2d61b
commit 49f83712a6
2 changed files with 4 additions and 10 deletions

View File

@ -96,19 +96,13 @@ jobs:
lunch ${{ github.event.inputs.LIBRARY_NAME }}_${{ github.event.inputs.DEVICE_NAME }}-eng
make clean
make recoveryimage -j$(nproc --all)
- name: Compressed file
run: |
PATH=~/bin:$PATH
cd workspace
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
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: workspace/${{ github.event.inputs.DEVICE_NAME }}-Built.zip
files: |
workspace/${{ github.event.inputs.DEVICE_NAME }}/*.zip
workspace/${{ github.event.inputs.DEVICE_NAME }}/recovery.img
name: ${{ github.event.inputs.DEVICE_NAME }}-${{ github.run_id }}
tag_name: ${{ github.run_id }}
body: Recovery for ${{ github.event.inputs.DEVICE_NAME }}

View File

@ -7,7 +7,7 @@
## 更新说明
```
= 2021/10/30
- 优化文件打包上传方式,支持输出 OFRP、SHRP 的 ZIP
- 优化文件打包上传方式,支持输出 OFRP、SHRP 的卡刷升级包与原始镜像
- 简化制造时的部分流程
```