File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed
Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,28 @@ jobs:
3535 with :
3636 workspaces : ' ./src-tauri -> target'
3737
38- - uses : tauri-apps/tauri-action@v0
38+ # Install Tauri CLI v2
39+ - name : Install Tauri CLI
40+ run : npm install -g @tauri-apps/cli@^2.0.0
41+
42+ # Build manually instead of using tauri-action (which defaults to v1)
43+ - name : Build Tauri app
44+ run : cargo tauri build
45+ working-directory : src-tauri
46+
47+ # Upload artifacts
48+ - name : Upload DMG
49+ uses : actions/upload-artifact@v4
50+ with :
51+ name : KJV-Study-macOS
52+ path : src-tauri/target/release/bundle/dmg/*.dmg
53+
54+ # Create release
55+ - name : Create Release
56+ uses : softprops/action-gh-release@v1
57+ if : startsWith(github.ref, 'refs/tags/')
58+ with :
59+ draft : true
60+ files : src-tauri/target/release/bundle/dmg/*.dmg
3961 env :
4062 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41- with :
42- tagName : ${{ github.ref_name }}
43- releaseName : ' KJV Study ${{ github.ref_name }}'
44- releaseDraft : true
You can’t perform that action at this time.
0 commit comments