mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
casting run number to int
This commit is contained in:
parent
fc53f498dd
commit
f332116dcb
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
$env:repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git"
|
$env:repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git"
|
||||||
$env:bulid_num = "${env:GITHUB_RUN_NUMBER + 3000}"
|
$env:bulid_num = [int]$env:GITHUB_RUN_NUMBER + 3000
|
||||||
|
|
||||||
Write-Host "RUN NUMBER: $env:GITHUB_RUN_NUMBER"
|
Write-Host "RUN NUMBER: $env:GITHUB_RUN_NUMBER"
|
||||||
Write-Host "BUILD NUMBER: $env:build_num"
|
Write-Host "BUILD NUMBER: $env:build_num"
|
||||||
@ -45,6 +45,8 @@ jobs:
|
|||||||
echo "::set-output name=repo_url::$env:repo_url"
|
echo "::set-output name=repo_url::$env:repo_url"
|
||||||
echo "::set-output name=adj_build_number::$env:build_num"
|
echo "::set-output name=adj_build_number::$env:build_num"
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user