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