|
@@ -98,11 +98,18 @@ 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
|
|
|
|
|
+ zip -r ./${{ github.event.inputs.DEVICE_NAME }}-Built.zip ./out/target/product/${{ github.event.inputs.DEVICE_NAME }}/*
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
- name: Upload to Release
|
|
- name: Upload to Release
|
|
|
uses: softprops/action-gh-release@v1
|
|
uses: softprops/action-gh-release@v1
|
|
|
with:
|
|
with:
|
|
|
- files: workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery.img
|
|
|
|
|
|
|
+ files: ${{ github.event.inputs.DEVICE_NAME }}-Built.zip
|
|
|
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 }}
|