Skip to content

Commit 2cebb3f

Browse files
committed
perf: change build action
1 parent 645f88e commit 2cebb3f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-amd64"
120123
args: ""
121124
- platform: "windows-latest"
125+
target: "windows-amd64"
122126
args: ""
123127

124128
runs-on: ${{ matrix.platform }}
@@ -273,4 +277,3 @@ jobs:
273277
prerelease: false
274278
includeDebug: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.build_debug || false }}
275279
includeRelease: ${{ github.event_name == 'workflow_dispatch' && !github.event.inputs.build_debug || github.event_name == 'push' }}
276-
args: ${{ matrix.args }}

0 commit comments

Comments
 (0)