Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyTake-Off committed Jun 29, 2024
1 parent 644fb4b commit ddf2672
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/actions/templates/moveFiles/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ runs:
git checkout -b ${{ inputs.targetBranchName }} --track origin/${{ inputs.targetBranchName }}
# Remove all files
# git rm -r .
# git reset
git rm -r .
git reset
ls -al
# Checkout directory and move files
git checkout ${{ inputs.sourceBranchName }} -- ${{ inputs.targetBranchName }}
find "${{ inputs.targetBranchName }}" -maxdepth 1 -name '*' -exec cp -r {} . \;
find "${{ inputs.targetBranchName }}" -maxdepth 1 -name '.*[!.]*' -exec cp -r {} . \;
find "${{ inputs.targetBranchName }}" -maxdepth 1 -name '.*[!.]*' -type d -exec cp -r {} . \;
# find "${{ inputs.targetBranchName }}" -maxdepth 1 -name '.*[!.]*' -type d -exec cp -r {} . \;
# Clean up
rm -rf ${{ inputs.targetBranchName }}
Expand Down

0 comments on commit ddf2672

Please sign in to comment.