Skip to content

Commit 9a2d9e6

Browse files
try fix ci build
1 parent c938498 commit 9a2d9e6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
draft: true
3535
prerelease: false
3636
publish-tauri:
37+
permissions:
38+
issues: write
39+
pull-requests: write
40+
contents: write
3741
needs: create-release
3842
strategy:
3943
fail-fast: false

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: 'test-on-pr'
22
on:
33
# Triggers the workflow on push or pull request events but only for the main branch
4-
push:
5-
branches: [main]
4+
# push:
5+
# branches: [main]
66
pull_request:
77

88
jobs:

src-tauri/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ tauri-build = { version = "1.0.0-rc.6", features = [] }
1717
[dependencies]
1818
serde_json = "1.0"
1919
window-vibrancy = "0.1.2"
20-
cocoa = "0.24.0"
2120
serde = { version = "1.0", features = ["derive"] }
2221
tauri = { version = "1.0.0-rc.7", features = ["http-all", "macos-private-api", "window-start-dragging"] }
2322

23+
[target."cfg(target_os = \"macos\")".dependencies]
24+
cocoa = "0.24"
25+
2426
[dependencies.tauri-plugin-store]
2527
git = "https://github.com/tauri-apps/tauri-plugin-store"
2628
rev = "4a5a8fb54e62bc0d0e07007b83101c3fe5cf24ba"

0 commit comments

Comments
 (0)