Skip to content

Commit

Permalink
fix(ci): json string for pwsh
Browse files Browse the repository at this point in the history
  • Loading branch information
idootop committed Nov 20, 2024
1 parent 7b63c51 commit 1d7a1ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ jobs:
run: |
pnpm install
$VERSION = node -p "require('./package.json').version"
pnpm tauri build -c "{`"version`":`"$VERSION`"}" -t ${{ matrix.target }} --bundles nsis
$jsonConfig = "{`"version`":`"$VERSION`"}"
pnpm tauri build -c $jsonConfig -t ${{ matrix.target }} --bundles nsis
$APP_NAME = "MagicMirror_$VERSION_${{ matrix.build }}_${{ matrix.arch }}"
node scripts/dist.js ${{ matrix.target }} $APP_NAME
- name: Upload App
Expand Down

0 comments on commit 1d7a1ce

Please sign in to comment.