mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-07 06:12:55 +08:00
fix build
This commit is contained in:
4
.github/workflows/build-windows.yml
vendored
4
.github/workflows/build-windows.yml
vendored
@@ -18,8 +18,8 @@ jobs:
|
||||
- name: Release version
|
||||
id: release_version
|
||||
run: |
|
||||
frontend_version=$(jq -r '.version' package.json)
|
||||
echo "frontend_version=v$frontend_version" >> $GITHUB_ENV
|
||||
$frontend_version = (Get-Content package.json | ConvertFrom-Json).version
|
||||
Add-Content -Path $env:GITHUB_ENV -Value "frontend_version=v$frontend_version"
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
|
||||
Reference in New Issue
Block a user