Skip to content

Commit a8688b0

Browse files
committed
fix(ci): json config for powershell
1 parent 8bccc32 commit a8688b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +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
107-
$APP_NAME = "MagicMirror_${VERSION}_${{ matrix.build }}_${{ matrix.arch }}"
106+
pnpm tauri build -c "{\`"version\`":\`"$VERSION\`"}" -t ${{ matrix.target }} --bundles nsis
107+
$APP_NAME = "MagicMirror_$VERSION_${{ matrix.build }}_${{ matrix.arch }}"
108108
node scripts/dist.js ${{ matrix.target }} $APP_NAME
109109
- name: Upload App
110110
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)