adding PACKAGE_VERSION via an env file
This commit is contained in:
parent
a6b2112e22
commit
e1aaca8a17
|
@ -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