mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 21:24:43 +00:00
added parentheses around the env variable for the branch name
This commit is contained in:
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@@ -57,8 +57,7 @@ jobs:
|
|||||||
Invoke-Expression "docker run --rm --mount type=bind,source=""$($Env:GITHUB_WORKSPACE)"",target=""c:/project"" pepperdash/sspbuilder c:\cihelpers\vsidebuild.exe -Solution ""c:\project\$($Env:SOLUTION_PATH)\$($Env:SOLUTION_FILE).sln"" -BuildSolutionConfiguration $($ENV:BUILD_TYPE)"
|
Invoke-Expression "docker run --rm --mount type=bind,source=""$($Env:GITHUB_WORKSPACE)"",target=""c:/project"" pepperdash/sspbuilder c:\cihelpers\vsidebuild.exe -Solution ""c:\project\$($Env:SOLUTION_PATH)\$($Env:SOLUTION_FILE).sln"" -BuildSolutionConfiguration $($ENV:BUILD_TYPE)"
|
||||||
./.github/scripts/ZipBuildOutput.ps1
|
./.github/scripts/ZipBuildOutput.ps1
|
||||||
- name: Write Version
|
- name: Write Version
|
||||||
run:
|
run: Write-Output "$($Env:VERSION)" | Out-File -FilePath ".\output\version.txt"
|
||||||
Write-Output "$($Env:VERSION)" | Out-File -FilePath ".\output\version.txt"
|
|
||||||
- name: Upload Build Output
|
- name: Upload Build Output
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
@@ -132,7 +131,7 @@ jobs:
|
|||||||
git tag $($Env:VERSION)
|
git tag $($Env:VERSION)
|
||||||
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/"
|
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/"
|
||||||
Write-Host $branch
|
Write-Host $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: |
|
||||||
@@ -148,7 +147,7 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# name: Build
|
# name: Build
|
||||||
# path: ./build.zip
|
# path: ./build.zip
|
||||||
# - name:
|
# - name:
|
||||||
# shell: powershell
|
# shell: powershell
|
||||||
# run: |
|
# run: |
|
||||||
# git add .
|
# git add .
|
||||||
|
|||||||
Reference in New Issue
Block a user