fixes workflow remove step

This commit is contained in:
Andrew Welker
2020-03-25 16:49:37 -06:00
parent c5f0bff133
commit 63feaac9bd

View File

@@ -147,8 +147,8 @@ jobs:
# Copy Contents of output folder to root directory
- name: Copy Files to root & delete output directory
run: |
Remove-Item -Path .\ -Include @("*.cpz", "*.dll", "*.cplz", "*.clz", "*.xml", "*.md")
Get-ChildItem -Path .\output\*.* | Copy-Item -DestinationPath .\
Remove-Item -Path .\* -Include @("*.cpz","*.md","*.cplz","*.json","*.dll","*.clz")
Get-ChildItem -Path .\output\* | Copy-Item -DestinationPath .\
Remove-Item -Path .\output -Recurse
# Commits the build output to the branch and tags it with the version
- name: Commit build output and tag the commit