mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
missed one
This commit is contained in:
parent
33421ec064
commit
524df330a1
1 changed files with 7 additions and 7 deletions
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
|
|
@ -28,12 +28,12 @@ jobs:
|
|||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
# - name: Set Build to Release if triggered from Master
|
||||
# run: |
|
||||
# if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
|
||||
# Write-Host "Setting build type to Release"
|
||||
# Write-Output "::set-env name=BUILD_TYPE::Release"
|
||||
# }
|
||||
- name: Set Build to Release if triggered from Master
|
||||
run: |
|
||||
if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
|
||||
Write-Host "Setting build type to Release"
|
||||
Write-Output "::set-env name=BUILD_TYPE::Release"
|
||||
}
|
||||
- name: Fetch tags
|
||||
run: git fetch --tags
|
||||
- name: Set Version Number
|
||||
|
|
@ -55,7 +55,7 @@ jobs:
|
|||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Build
|
||||
path: ./output.zip
|
||||
path: ./${{ env.SOLUTION_FILE}}-${{ env.VERSION}}.zip
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue