Skip to content

Commit

Permalink
Update build_twrp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseos authored May 23, 2024
1 parent 7c49682 commit 6be047a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build_twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 6be047a

Please sign in to comment.