mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
removing env brackets....
This commit is contained in:
parent
9d965171be
commit
93d43c75bb
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -40,14 +40,14 @@ jobs:
|
|||||||
- name: Set PACKAGE_VERSION
|
- name: Set PACKAGE_VERSION
|
||||||
run: |
|
run: |
|
||||||
$env:pkgVersion = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
|
$env:pkgVersion = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
|
||||||
echo "{PACKAGE_VERSION}={$env:pkgVersion}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
echo "PACKAGE_VERSION=$env:pkgVersion" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
echo "version: $env:pkgVersion"
|
echo "version: $env:pkgVersion"
|
||||||
|
|
||||||
- name: test setting env var
|
- name: test setting env var
|
||||||
run: |
|
run: |
|
||||||
echo "version: $env:PACKAGE_VERSION"
|
echo "version: $env:PACKAGE_VERSION"
|
||||||
|
|
||||||
if($PACKAGE_VERSION -eq "") {
|
if($env:PACKAGE_VERSION -eq "") {
|
||||||
Throw "test env failed."
|
Throw "test env failed."
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ jobs:
|
|||||||
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
|
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
|
||||||
|
|
||||||
echo "version: $env:PACKAGE_VERSION"
|
echo "version: $env:PACKAGE_VERSION"
|
||||||
echo "testVersion: $env:testVersion"
|
echo "testVersion: $testVersion"
|
||||||
if($testVersion -ne $env:PACKAGE_VERSION) {
|
if($testVersion -ne $env:PACKAGE_VERSION) {
|
||||||
Throw "Version test failed."
|
Throw "Version test failed."
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user