File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 8
8
description : " Platform to build for"
9
9
required : false
10
10
default : " true"
11
+ install_only :
12
+ description : " Only install wails"
13
+ required : false
14
+ default : " false"
11
15
sign :
12
16
description : " Sign the build"
13
17
required : false
@@ -136,15 +140,15 @@ runs:
136
140
install-only : true
137
141
# install wails
138
142
- name : Install Wails
139
- if : inputs.build == 'true'
143
+ if : inputs.build == 'true' || install_only == 'true'
140
144
run : go install github.com/wailsapp/wails/v2/cmd/wails@${{inputs.wails-version}}
141
145
shell : bash
142
146
- name : Install Linux Wails deps
143
- if : inputs.build == 'true' && runner.os == 'Linux'
147
+ if : inputs.build == 'true' && runner.os == 'Linux' || install_only == 'true' && runner.os == 'Linux'
144
148
run : sudo apt-get update && sudo apt-get install libgtk-3-0 libwebkit2gtk-4.0-dev gcc-aarch64-linux-gnu
145
149
shell : bash
146
150
- name : Install macOS Wails deps
147
- if : runner.os == 'macOS'
151
+ if : runner.os == 'macOS' || install_only == 'true' && runner.os == 'macOS'
148
152
run : brew install mitchellh/gon/gon
149
153
shell : bash
150
154
# Building step
You can’t perform that action at this time.
0 commit comments