From 082ecd315f71a9589851efc71aa11d2a1c6cf134 Mon Sep 17 00:00:00 2001 From: th7 <69128819+Tonyha7@users.noreply.github.com> Date: Thu, 12 Jan 2023 16:55:17 +0800 Subject: [PATCH 1/4] Update Gen.yml --- .github/workflows/Gen.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Gen.yml b/.github/workflows/Gen.yml index 2818a08..c1d17a2 100644 --- a/.github/workflows/Gen.yml +++ b/.github/workflows/Gen.yml @@ -42,13 +42,14 @@ jobs: - name: ZIP device tree run: | - zip -r -9 DeviceTree.zip ./out/* + cd ./out + zip -9 DeviceTree.zip . - name: Upload to Release uses: softprops/action-gh-release@v1 with: files: | - ./DeviceTree.zip + ./out/DeviceTree.zip name: TWRP_Device_Tree-${{ github.run_id }} tag_name: ${{ github.run_id }} body: DeviceTree for twrp From 6497a025c697638486ef40282e50fa78bee5f2a7 Mon Sep 17 00:00:00 2001 From: th7 <69128819+Tonyha7@users.noreply.github.com> Date: Thu, 12 Jan 2023 16:58:43 +0800 Subject: [PATCH 2/4] Update Gen.yml --- .github/workflows/Gen.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Gen.yml b/.github/workflows/Gen.yml index c1d17a2..aac74fd 100644 --- a/.github/workflows/Gen.yml +++ b/.github/workflows/Gen.yml @@ -40,18 +40,18 @@ jobs: mkdir out python3 -m twrpdtgen -o ./out/ *.img - - name: ZIP device tree + - name: 打压缩包 run: | cd ./out zip -9 DeviceTree.zip . - - name: Upload to Release + - name: Release uses: softprops/action-gh-release@v1 with: files: | ./out/DeviceTree.zip name: TWRP_Device_Tree-${{ github.run_id }} tag_name: ${{ github.run_id }} - body: DeviceTree for twrp + body: DeviceTree 4 TWRP env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 0e2ef342c54de7b02c7beb6e0d30697eef8b0ba6 Mon Sep 17 00:00:00 2001 From: th7 <69128819+Tonyha7@users.noreply.github.com> Date: Thu, 12 Jan 2023 17:02:21 +0800 Subject: [PATCH 3/4] Update Gen.yml --- .github/workflows/Gen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Gen.yml b/.github/workflows/Gen.yml index aac74fd..560b6da 100644 --- a/.github/workflows/Gen.yml +++ b/.github/workflows/Gen.yml @@ -43,7 +43,7 @@ jobs: - name: 打压缩包 run: | cd ./out - zip -9 DeviceTree.zip . + zip -9 DeviceTree.zip ./* - name: Release uses: softprops/action-gh-release@v1 From ebf625d8bc70551f14cacf61eface74364661f72 Mon Sep 17 00:00:00 2001 From: th7 <69128819+Tonyha7@users.noreply.github.com> Date: Thu, 12 Jan 2023 17:04:23 +0800 Subject: [PATCH 4/4] Update Gen.yml --- .github/workflows/Gen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Gen.yml b/.github/workflows/Gen.yml index 560b6da..cafa070 100644 --- a/.github/workflows/Gen.yml +++ b/.github/workflows/Gen.yml @@ -43,7 +43,7 @@ jobs: - name: 打压缩包 run: | cd ./out - zip -9 DeviceTree.zip ./* + zip -r -9 DeviceTree.zip ./* - name: Release uses: softprops/action-gh-release@v1