removed a set of $()

This commit is contained in:
Andrew Welker
2020-03-18 16:06:38 -06:00
parent 1570e32fd9
commit adc693fbab
2 changed files with 3 additions and 48 deletions

View File

@@ -124,12 +124,13 @@ jobs:
- name: Unzip Build file
run: |
Get-ChildItem .\*.zip | Expand-Archive -DestinationPath .\
Remove-Item -Path .\ -include @("*.zip")
Remove-Item -Path .\*.zip
- name: Check directory again
run: Get-ChildItem ./
- name: Copy build output and push
shell: powershell
run: |
git checkout -b $($Env:GITHUB_REF -replace "refs/heads/")
git config user.email "actions@pepperdash.com"
git config user.name "GitHub Actions"
git add .
@@ -137,7 +138,7 @@ jobs:
Write-Host $commit
git commit -m $commit
git tag $($Env:VERSION)
git push --set-upstream origin $($($Env:GITHUB_REF) -Replace "refs/heads/") --force
git push --set-upstream origin $($Env:GITHUB_REF -Replace "refs/heads/") --force
git push --tags origin
- name: Check Directory
run: |