mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
adding PACKAGE_VERSION via an env file
This commit is contained in:
parent
a6b2112e22
commit
e1aaca8a17
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -37,6 +37,11 @@ jobs:
|
||||
with:
|
||||
node-version: '10.x'
|
||||
|
||||
- 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
|
||||
|
||||
- name: Install
|
||||
run: npm install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user