From 6be047ab38657cccfe14475a63a2953352eb070e Mon Sep 17 00:00:00 2001 From: yuu <46545607+mouseos@users.noreply.github.com> Date: Thu, 23 May 2024 13:45:00 +0900 Subject: [PATCH] Update build_twrp.yml --- .github/workflows/build_twrp.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_twrp.yml b/.github/workflows/build_twrp.yml index 78525cc..0176865 100644 --- a/.github/workflows/build_twrp.yml +++ b/.github/workflows/build_twrp.yml @@ -39,10 +39,6 @@ jobs: # You might want to Checkout your repo first, but not mandatory - name: Check Out uses: actions/checkout@v3 - - name: Move files to workspace - run: | - mkdir -p workspace/${{ github.event.inputs.DEVICE_PATH }} - ls | grep -v workspace | xargs -I{} mv {} workspace/${{ github.event.inputs.DEVICE_PATH }} # Cleanup The Actions Workspace Using Custom Composite Run Actions - name: Cleanup @@ -89,10 +85,10 @@ jobs: repo sync -j$(nproc --all) --force-sync working-directory: workspace - - name: Clone device tree + - name: Move files to workspace run: | - git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }} - working-directory: ${{ steps.pwd.outputs.workspace-folder }} + mkdir -p workspace/${{ github.event.inputs.DEVICE_PATH }} + ls | grep -v workspace | xargs -I{} mv {} workspace/${{ github.event.inputs.DEVICE_PATH }} - name: Clone common tree if: |