5353 - name : Rust cache
5454 uses : swatinem/rust-cache@v2
5555 with :
56- workspaces : artifacts/artifacts/markpad /src-tauri -> target
56+ workspaces : artifacts/artifacts/marktex /src-tauri -> target
5757
5858 - name : Install workspace dependencies
5959 run : pnpm install --no-frozen-lockfile --force
9191 shell : pwsh
9292 run : |
9393 $ErrorActionPreference = "Stop"
94- pnpm --filter @workspace/markpad exec node --input-type=module -e "import { loadConfigFromFile } from 'vite'; const loaded = await loadConfigFromFile({ command: 'build', mode: 'production' }, 'vite.config.ts'); if (!loaded) { throw new Error('Vite config did not load'); } console.log('vite config load OK');"
94+ pnpm --filter @workspace/marktex exec node --input-type=module -e "import { loadConfigFromFile } from 'vite'; const loaded = await loadConfigFromFile({ command: 'build', mode: 'production' }, 'vite.config.ts'); if (!loaded) { throw new Error('Vite config did not load'); } console.log('vite config load OK');"
9595
9696 - name : Typecheck workspace
9797 run : pnpm run typecheck
@@ -100,17 +100,17 @@ jobs:
100100 run : pnpm --filter @workspace/api-server run build
101101
102102 - name : Build desktop frontend bundle
103- run : pnpm --filter @workspace/markpad run build:desktop:web
103+ run : pnpm --filter @workspace/marktex run build:desktop:web
104104
105105 - name : Stage desktop backend resources
106- run : pnpm --filter @workspace/markpad run prepare:desktop:resources
106+ run : pnpm --filter @workspace/marktex run prepare:desktop:resources
107107
108108 - name : Download and stage runtime binaries
109109 shell : pwsh
110110 run : |
111111 $ErrorActionPreference = "Stop"
112112
113- $resourceRoot = "artifacts/artifacts/markpad /src-tauri/resources"
113+ $resourceRoot = "artifacts/artifacts/marktex /src-tauri/resources"
114114 New-Item -ItemType Directory -Force -Path "$resourceRoot/runtime" | Out-Null
115115 New-Item -ItemType Directory -Force -Path "$resourceRoot/bin" | Out-Null
116116
@@ -168,12 +168,12 @@ jobs:
168168 run : |
169169 $ErrorActionPreference = "Stop"
170170
171- $resourceRoot = "artifacts/artifacts/markpad /src-tauri/resources"
171+ $resourceRoot = "artifacts/artifacts/marktex /src-tauri/resources"
172172 $nodeExe = Join-Path $resourceRoot "runtime/node/node.exe"
173173 $pandocExe = Join-Path $resourceRoot "bin/pandoc.exe"
174174 $typstExe = Join-Path $resourceRoot "bin/typst.exe"
175- $backendEntry = "artifacts/artifacts/markpad /src-tauri/resources/backend/dist/index.mjs"
176- $dataDir = Join-Path $env:RUNNER_TEMP "markpad -data"
175+ $backendEntry = "artifacts/artifacts/marktex /src-tauri/resources/backend/dist/index.mjs"
176+ $dataDir = Join-Path $env:RUNNER_TEMP "marktex -data"
177177 New-Item -ItemType Directory -Force -Path $dataDir | Out-Null
178178
179179 if (-not (Test-Path $pandocExe)) {
@@ -192,9 +192,9 @@ jobs:
192192 $envMap = @{
193193 PORT = "18080"
194194 NODE_ENV = "production"
195- MARKPAD_DATA_DIR = $dataDir
196- MARKPAD_PANDOC_BIN = $pandocExe
197- MARKPAD_TYPST_BIN = $typstExe
195+ MARKTEX_DATA_DIR = $dataDir
196+ MARKTEX_PANDOC_BIN = $pandocExe
197+ MARKTEX_TYPST_BIN = $typstExe
198198 PATH = "$resourceRoot/bin;$resourceRoot/runtime/node;$env:PATH"
199199 }
200200
@@ -272,7 +272,7 @@ jobs:
272272 shell : pwsh
273273 run : |
274274 $ErrorActionPreference = "Stop"
275- $resourceRoot = "artifacts/artifacts/markpad /src-tauri/resources"
275+ $resourceRoot = "artifacts/artifacts/marktex /src-tauri/resources"
276276 $requiredDirs = @("backend", "runtime", "bin")
277277
278278 foreach ($dir in $requiredDirs) {
@@ -290,15 +290,15 @@ jobs:
290290 Write-Host "Tauri resource validation passed"
291291
292292 - name : Build NSIS installer (.exe)
293- run : pnpm --filter @workspace/markpad exec tauri build --config src-tauri/tauri.conf.json --bundles nsis --target ${{ matrix.rust_target }}
293+ run : pnpm --filter @workspace/marktex exec tauri build --config src-tauri/tauri.conf.json --bundles nsis --target ${{ matrix.rust_target }}
294294
295295 - name : Upload installer artifacts
296296 uses : actions/upload-artifact@v7
297297 with :
298- name : markpad -windows-installer-${{ matrix.arch }}-${{ github.sha }}
298+ name : marktex -windows-installer-${{ matrix.arch }}-${{ github.sha }}
299299 path : |
300- artifacts/artifacts/markpad /src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.exe
301- artifacts/artifacts/markpad /src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.zip
300+ artifacts/artifacts/marktex /src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.exe
301+ artifacts/artifacts/marktex /src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.zip
302302 if-no-files-found : error
303303
304304 - name : Publish GitHub Release (tags only)
@@ -308,5 +308,5 @@ jobs:
308308 tag_name : ${{ github.ref_name }}
309309 generate_release_notes : true
310310 files : |
311- artifacts/artifacts/markpad /src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.exe
311+ artifacts/artifacts/marktex /src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.exe
312312 fail_on_unmatched_files : true
0 commit comments