finding the PACKAGE_VERSION in new job

This commit is contained in:
Joseph Flinn 2021-01-08 20:41:15 +00:00
parent 90f9095215
commit 1fe4a2f835
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
- 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: Download Windows Nuget
uses: actions/download-artifact@v2
with: