switching to powershell
This commit is contained in:
parent
ecaa04cac5
commit
1b6d1a52ae
|
@ -224,6 +224,7 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set PACKAGE_VERSION
|
- name: Set PACKAGE_VERSION
|
||||||
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
$env:pkgVersion = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
|
$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
|
echo "PACKAGE_VERSION=$env:pkgVersion" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
|
|
Loading…
Reference in New Issue