Skip to content

Commit ed455ee

Browse files
committed
Adds wails-dev-build option, wont install go, wont install wails, MUST be provided prior to action run.
1 parent 53dccb7 commit ed455ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ inputs:
107107
description: "Windows Signing Certificate Password"
108108
required: false
109109
default: ''
110-
110+
wails-dev-build:
111+
description: "Use provided wails"
112+
required: false
113+
default: "false"
111114
runs:
112115
using: "composite"
113116
steps:
@@ -155,6 +158,7 @@ runs:
155158
# Setup and configure GoLang
156159
- name: Setup GoLang
157160
uses: actions/setup-go@v5
161+
if: inputs.wails-dev-build == 'false'
158162
with:
159163
check-latest: true
160164
cache: ${{ inputs.build-cache }}
@@ -179,7 +183,7 @@ runs:
179183
run: ${{inputs.deno-build}}
180184
# install wails
181185
- name: Install Wails
182-
if: inputs.build == 'true'
186+
if: inputs.build == 'true' && inputs.wails-dev-build == 'false'
183187
run: go install github.com/wailsapp/wails/v2/cmd/wails@${{inputs.wails-version}}
184188
shell: bash
185189
- name: Install macOS Wails deps

0 commit comments

Comments
 (0)