Skip to content

Commit d047451

Browse files
author
b45632
committed
fix
1 parent 689d407 commit d047451

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ permissions:
1919
contents: write
2020

2121
env:
22-
APP_DIR: apps/desktop
2322
NODE_VERSION: "24"
2423
PNPM_VERSION: "10.33.0"
2524
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}
@@ -56,9 +55,9 @@ jobs:
5655
}
5756
5857
const expected = match[1];
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');
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');
6261
const cargoVersion = /^version\s*=\s*"([^"]+)"/m.exec(cargoToml)?.[1];
6362
6463
const versions = {
@@ -165,10 +164,6 @@ jobs:
165164
args: "--target universal-apple-darwin"
166165
rust_targets: "aarch64-apple-darwin,x86_64-apple-darwin"
167166

168-
defaults:
169-
run:
170-
working-directory: apps/desktop
171-
172167
steps:
173168
- name: Repository und Release-Tag auschecken
174169
uses: actions/checkout@v7
@@ -188,7 +183,7 @@ jobs:
188183
with:
189184
node-version: ${{ env.NODE_VERSION }}
190185
cache: pnpm
191-
cache-dependency-path: apps/desktop/pnpm-lock.yaml
186+
cache-dependency-path: pnpm-lock.yaml
192187
package-manager-cache: false
193188

194189
- name: Rust stable einrichten
@@ -199,7 +194,7 @@ jobs:
199194
- name: Rust-Buildcache einrichten
200195
uses: swatinem/rust-cache@v2
201196
with:
202-
workspaces: apps/desktop/src-tauri -> target
197+
workspaces: src-tauri -> target
203198
shared-key: release-${{ matrix.platform }}
204199

205200
- name: Linux-Systempakete installieren
@@ -222,7 +217,6 @@ jobs:
222217
env:
223218
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
224219
with:
225-
projectPath: apps/desktop
226220
releaseId: ${{ needs.prepare-release.outputs.release_id }}
227221
tagName: ${{ env.RELEASE_TAG }}
228222
releaseDraft: true

0 commit comments

Comments
 (0)