1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

casting run number to int

This commit is contained in:
Joseph Flinn 2021-02-02 07:45:30 -08:00
parent fc53f498dd
commit f332116dcb

View File

@ -37,7 +37,7 @@ jobs:
shell: pwsh
run: |
$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 "BUILD NUMBER: $env:build_num"
@ -45,6 +45,8 @@ jobs:
echo "::set-output name=repo_url::$env:repo_url"
echo "::set-output name=adj_build_number::$env:build_num"
exit 1
cli:
runs-on: windows-latest