back to trying things...

This commit is contained in:
Andrew Welker
2020-03-18 15:45:02 -06:00
parent e31e804a9b
commit 1570e32fd9

View File

@@ -123,8 +123,8 @@ jobs:
run: Get-ChildItem ./ run: Get-ChildItem ./
- name: Unzip Build file - name: Unzip Build file
run: | run: |
Get-ChildItem -Path "./" -include @("*.zip") | Expand-Archive -DestinationPath ./ Get-ChildItem .\*.zip | Expand-Archive -DestinationPath .\
Remove-Item -Path "./" -include @("*.zip") Remove-Item -Path .\ -include @("*.zip")
- name: Check directory again - name: Check directory again
run: Get-ChildItem ./ run: Get-ChildItem ./
- name: Copy build output and push - name: Copy build output and push
@@ -137,9 +137,7 @@ jobs:
Write-Host $commit Write-Host $commit
git commit -m $commit git commit -m $commit
git tag $($Env:VERSION) git tag $($Env:VERSION)
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/" git push --set-upstream origin $($($Env:GITHUB_REF) -Replace "refs/heads/") --force
Write-Output $branch
git push --set-upstream origin "$($branch)" --force
git push --tags origin git push --tags origin
- name: Check Directory - name: Check Directory
run: | run: |