Skip to content

Commit 5a01001

Browse files
committed
fix(ci): version args for build command
1 parent bffddaa commit 5a01001

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-app.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ jobs:
102102
shell: pwsh
103103
run: |
104104
pnpm install
105-
$VERSION = $(node -p "require('./package.json').version")
106-
pnpm tauri build -c '{\"version\":\"$VERSION\"}' -t ${{ matrix.target }} --bundles nsis
105+
$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 }}"
107108
node scripts/dist.js ${{ matrix.target }} $APP_NAME
108109
- name: Upload App
109110
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)