1
0
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:
Joseph Flinn 2020-12-22 22:22:51 +00:00
parent 9d965171be
commit 93d43c75bb

View File

@ -40,14 +40,14 @@ jobs:
- name: Set PACKAGE_VERSION
run: |
$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"
- name: test setting env var
run: |
echo "version: $env:PACKAGE_VERSION"
if($PACKAGE_VERSION -eq "") {
if($env:PACKAGE_VERSION -eq "") {
Throw "test env failed."
}
@ -74,7 +74,7 @@ jobs:
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
echo "version: $env:PACKAGE_VERSION"
echo "testVersion: $env:testVersion"
echo "testVersion: $testVersion"
if($testVersion -ne $env:PACKAGE_VERSION) {
Throw "Version test failed."
}