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 88 description : " Platform to build for"
99 required : false
1010 default : " true"
11+ install_only :
12+ description : " Only install wails"
13+ required : false
14+ default : " false"
1115 sign :
1216 description : " Sign the build"
1317 required : false
@@ -136,15 +140,15 @@ runs:
136140 install-only : true
137141 # install wails
138142 - name : Install Wails
139- if : inputs.build == 'true'
143+ if : inputs.build == 'true' || install_only == 'true'
140144 run : go install github.com/wailsapp/wails/v2/cmd/wails@${{inputs.wails-version}}
141145 shell : bash
142146 - 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'
144148 run : sudo apt-get update && sudo apt-get install libgtk-3-0 libwebkit2gtk-4.0-dev gcc-aarch64-linux-gnu
145149 shell : bash
146150 - name : Install macOS Wails deps
147- if : runner.os == 'macOS'
151+ if : runner.os == 'macOS' || install_only == 'true' && runner.os == 'macOS'
148152 run : brew install mitchellh/gon/gon
149153 shell : bash
150154 # Building step
You can’t perform that action at this time.
0 commit comments