Skip to content

Commit 5cd5658

Browse files
committed
perf: change build action
1 parent adc9f1b commit 5cd5658

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105105

106106
build:
107-
name: build tauri app
107+
name: build tauri app (${{ matrix.target || matrix.platform }})
108108
needs: pre-build
109109
permissions:
110110
contents: write
@@ -113,12 +113,16 @@ jobs:
113113
matrix:
114114
include:
115115
- platform: "macos-latest" # for Arm based macs (M1 and above).
116+
target: "aarch64-apple-darwin"
116117
args: "--target aarch64-apple-darwin"
117118
- platform: "macos-latest" # for Intel based macs.
119+
target: "x86_64-apple-darwin"
118120
args: "--target x86_64-apple-darwin"
119121
- platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04.
122+
target: "linux"
120123
args: ""
121124
- platform: "windows-latest"
125+
target: "windows"
122126
args: ""
123127

124128
runs-on: ${{ matrix.platform }}

go-client/pkg/awaken/awaken_linux.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ func awakenDBCommand(r *Rouse, cfg *config.AppConfig) *exec.Cmd {
178178
return nil
179179
}
180180
var cmd *exec.Cmd
181-
appPath := appItem.Path
182181
connectMap := map[string]string{
183182
"name": r.getName(),
184183
"protocol": r.Protocol,

0 commit comments

Comments
 (0)