Skip to content

Commit

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

0 comments on commit c0f1593

Please sign in to comment.