mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +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:
|
with:
|
||||||
node-version: '10.x'
|
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
|
- name: Install
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user