mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-20 21:01:29 +01:00
trying pwsh env syntax...'cause you know....it is a pwsh shell
This commit is contained in:
parent
f574253aa6
commit
9d965171be
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -41,11 +41,11 @@ jobs:
|
||||
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 "version: $pkgVersion"
|
||||
echo "version: $env:pkgVersion"
|
||||
|
||||
- name: test setting env var
|
||||
run: |
|
||||
echo "version: $PACKAGE_VERSION"
|
||||
echo "version: $env:PACKAGE_VERSION"
|
||||
|
||||
if($PACKAGE_VERSION -eq "") {
|
||||
Throw "test env failed."
|
||||
|
Loading…
Reference in New Issue
Block a user