added a couple of check steps and the push back in

This commit is contained in:
Andrew Welker
2020-03-18 15:19:35 -06:00
parent f42854a8b7
commit e0d1b791a0

View File

@@ -119,12 +119,14 @@ jobs:
with:
name: Build
path: ./
- name: Check directory
run: Get-ChildItem ./
- name: Unzip Build file
run: |
Get-ChildItem ./
Get-ChildItem -Path ./ -include @("*.zip") | Expand-Archive -DestinationPath ./
Remove-Item -Path ./ -include @("*.zip")
Get-ChildItem ./
- name: Check directory again
run: Get-ChildItem ./
- name: Copy build output and push
shell: powershell
run: |
@@ -137,8 +139,8 @@ jobs:
git tag $($Env:VERSION)
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/"
Write-Output $branch
# git push --set-upstream origin $($branch) --force
# git push --tags origin
git push --set-upstream origin $branch --force
git push --tags origin
- name: Check Directory
run: |
Get-ChildItem "./"