mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
fixed env variables and added steps to checkout build repos
This commit is contained in:
2
.github/scripts/ZipBuildOutput.ps1
vendored
2
.github/scripts/ZipBuildOutput.ps1
vendored
@@ -19,5 +19,5 @@ Get-ChildItem -recurse -Path "$($Env:GITHUB_WORKSPACE)" -include @("*.clz", "*.c
|
||||
}
|
||||
} | Copy-Item -Destination ($destination)
|
||||
Get-ChildItem "$($Env:GITHUB_WORKSPACE)\output"
|
||||
Compress-Archive -Path "$($Env:GITHUB_WORKSPACE)\output\*" -DestinationPath "$($Env:GITHUB_WORKSPACE)\$($Env:SOLUTION)-$($Env.VERSION).zip"
|
||||
Compress-Archive -Path "$($Env:GITHUB_WORKSPACE)\output\*" -DestinationPath "$($Env:GITHUB_WORKSPACE)\$($Env:SOLUTION_FILE)-$($Env.VERSION).zip"
|
||||
Get-ChildItem "$($Env:GITHUB_WORKSPACE)\"
|
||||
|
||||
13
.github/workflows/docker.yml
vendored
13
.github/workflows/docker.yml
vendored
@@ -34,6 +34,19 @@ jobs:
|
||||
Write-Host "Setting build type to Release"
|
||||
Write-Output "::set-env name=BUILD_TYPE::Release"
|
||||
}
|
||||
- name: Checkout Builds Repo
|
||||
if: contains('release', env.BUILD_TYPE)
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.BUILD_TOKEN }}
|
||||
path: ./builds_repo
|
||||
repo: PepperDash/PepperDashCore-Builds
|
||||
- name: Checkout Builds Repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.BUILD_TOKEN }}
|
||||
path: ./internal_builds_repo
|
||||
repo: PepperDash-Engineering/pepperdash-core-builds
|
||||
- name: Fetch tags
|
||||
run: git fetch --tags
|
||||
- name: Set Version Number
|
||||
|
||||
Reference in New Issue
Block a user