@@ -19,6 +19,7 @@ permissions:
1919 contents : write
2020
2121env :
22+ APP_DIR : apps/desktop
2223 NODE_VERSION : " 24"
2324 PNPM_VERSION : " 10.33.0"
2425 RELEASE_TAG : ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}
5556 }
5657
5758 const expected = match[1];
58- const packageJson = JSON.parse(fs.readFileSync('package.json', 'utf8'));
59- const tauriConfig = JSON.parse(fs.readFileSync('src-tauri/tauri.conf.json', 'utf8'));
60- const cargoToml = fs.readFileSync('src-tauri/Cargo.toml', 'utf8');
59+ const packageJson = JSON.parse(fs.readFileSync('apps/desktop/ package.json', 'utf8'));
60+ const tauriConfig = JSON.parse(fs.readFileSync('apps/desktop/ src-tauri/tauri.conf.json', 'utf8'));
61+ const cargoToml = fs.readFileSync('apps/desktop/ src-tauri/Cargo.toml', 'utf8');
6162 const cargoVersion = /^version\s*=\s*"([^"]+)"/m.exec(cargoToml)?.[1];
6263
6364 const versions = {
@@ -164,6 +165,9 @@ jobs:
164165 args : " --target universal-apple-darwin"
165166 rust_targets : " aarch64-apple-darwin,x86_64-apple-darwin"
166167
168+ defaults :
169+ run :
170+ working-directory : apps/desktop
167171
168172 steps :
169173 - name : Repository und Release-Tag auschecken
@@ -184,7 +188,7 @@ jobs:
184188 with :
185189 node-version : ${{ env.NODE_VERSION }}
186190 cache : pnpm
187- cache-dependency-path : pnpm-lock.yaml
191+ cache-dependency-path : apps/desktop/ pnpm-lock.yaml
188192 package-manager-cache : false
189193
190194 - name : Rust stable einrichten
@@ -195,7 +199,7 @@ jobs:
195199 - name : Rust-Buildcache einrichten
196200 uses : swatinem/rust-cache@v2
197201 with :
198- workspaces : src-tauri -> target
202+ workspaces : apps/desktop/ src-tauri -> target
199203 shared-key : release-${{ matrix.platform }}
200204
201205 - name : Linux-Systempakete installieren
@@ -218,6 +222,7 @@ jobs:
218222 env :
219223 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
220224 with :
225+ projectPath : apps/desktop
221226 releaseId : ${{ needs.prepare-release.outputs.release_id }}
222227 tagName : ${{ env.RELEASE_TAG }}
223228 releaseDraft : true
0 commit comments