Skip to content

Commit 1d7a1ce

Browse files
committed
fix(ci): json string for pwsh
1 parent 7b63c51 commit 1d7a1ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/workflows/build-app.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ jobs:
103103
run: |
104104
pnpm install
105105
$VERSION = node -p "require('./package.json').version"
106-
pnpm tauri build -c "{`"version`":`"$VERSION`"}" -t ${{ matrix.target }} --bundles nsis
106+
$jsonConfig = "{`"version`":`"$VERSION`"}"
107+
pnpm tauri build -c $jsonConfig -t ${{ matrix.target }} --bundles nsis
107108
$APP_NAME = "MagicMirror_$VERSION_${{ matrix.build }}_${{ matrix.arch }}"
108109
node scripts/dist.js ${{ matrix.target }} $APP_NAME
109110
- name: Upload App

0 commit comments

Comments
 (0)