Browse Source

Remove compress

Remove compress
Aizawa Hikaru 4 years ago
parent
commit
49f83712a6
2 changed files with 4 additions and 10 deletions
  1. 3 9
      .github/workflows/Make.yml
  2. 1 1
      README.md

+ 3 - 9
.github/workflows/Make.yml

@@ -96,19 +96,13 @@ jobs:
         lunch ${{ github.event.inputs.LIBRARY_NAME }}_${{ github.event.inputs.DEVICE_NAME }}-eng 
         lunch ${{ github.event.inputs.LIBRARY_NAME }}_${{ github.event.inputs.DEVICE_NAME }}-eng 
         make clean
         make clean
         make recoveryimage -j$(nproc --all)        
         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
     - name: Upload to Release
       uses: softprops/action-gh-release@v1
       uses: softprops/action-gh-release@v1
       with:
       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 }}
         name: ${{ github.event.inputs.DEVICE_NAME }}-${{ github.run_id }}
         tag_name: ${{ github.run_id }}
         tag_name: ${{ github.run_id }}
         body: Recovery for ${{ github.event.inputs.DEVICE_NAME }}
         body: Recovery for ${{ github.event.inputs.DEVICE_NAME }}

+ 1 - 1
README.md

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