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