adding PACKAGE_VERSION via an env file

This commit is contained in:
Joseph Flinn 2020-12-22 21:23:15 +00:00
parent a6b2112e22
commit e1aaca8a17
1 changed files with 5 additions and 0 deletions

View File

@ -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