From fbb1f94889f7051602368f2d7de883cb040d6da5 Mon Sep 17 00:00:00 2001 From: Xpsoted <37337416+Xpsoted@users.noreply.github.com> Date: Fri, 27 May 2022 10:47:11 +0800 Subject: [PATCH] Update blank.yml --- .github/workflows/blank.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 9231bf06..132595ac 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -91,6 +91,12 @@ jobs: PATH=~/bin:$PATH cd ${{ steps.pwd.outputs.pwd }} python3 -m twrpdtgen -o device/ *.img + + - name: ZIP device tree + run: | + PATH=~/bin:$PATH + cd ${{ steps.pwd.outputs.pwd }} + zip -r DeviceTree.zip ./device - name: Start build recovery run: | @@ -107,6 +113,7 @@ jobs: with: files: | workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery.img + workspace/DeviceTree.zip name: TWRP_Device_Tree-${{ github.run_id }} tag_name: ${{ github.run_id }} body: DeviceTree for twrp