Fix: Workflow V2

This commit is contained in:
Youwes09
2026-06-12 22:02:38 -05:00
parent ceb9ba12d7
commit ab9305e6ab
2 changed files with 14 additions and 2 deletions
+7 -1
View File
@@ -91,7 +91,13 @@ jobs:
- name: Patch tauri.conf.json for CI
run: |
sed -i '' 's/"beforeBuildCommand": "pnpm build"/"beforeBuildCommand": ""/' src-tauri/tauri.conf.json
python3 -c "
import json, pathlib
p = pathlib.Path('src-tauri/tauri.conf.json')
c = json.loads(p.read_text())
c.setdefault('build', {})['beforeBuildCommand'] = ''
p.write_text(json.dumps(c, indent=2))
"
- name: Build Tauri app (aarch64)
run: |
+7 -1
View File
@@ -88,7 +88,13 @@ jobs:
- name: Patch tauri.conf.json for CI
shell: bash
run: |
sed -i 's/"beforeBuildCommand": "pnpm build"/"beforeBuildCommand": ""/' src-tauri/tauri.conf.json
python3 -c "
import json, pathlib
p = pathlib.Path('src-tauri/tauri.conf.json')
c = json.loads(p.read_text())
c.setdefault('build', {})['beforeBuildCommand'] = ''
p.write_text(json.dumps(c, indent=2))
"
- name: Delete existing draft release
shell: bash