adds -Recurse for copying from Build directory

This commit is contained in:
Andrew Welker
2020-03-17 18:48:34 -06:00
parent 8f40629e65
commit 4cfd51f76e

View File

@@ -115,7 +115,7 @@ jobs:
- name: Copy build output and push
run: |
git checkout -b $($Env:GITHUB_REF -Replace "refs/heads/")
Get-ChildItem -Path "./Build" | Copy-Item -Path ./
Get-ChildItem -Path "./Build" -Recurse | Copy-Item -Path ./
Remove-Item -Path ./Build -Recurse
git add .
git commit -m "Build ${{ env.GITHUB_RUN_NUMBER }} from commit: https://github.com/${{ env.GITHUB_REPOSITORY }}/commit/${{ env.GITHUB_SHA }}"