Skip to content

Commit 58644f8

Browse files
authored
Workflow improvement - add option for non-PR manual builds (#652)
@nerdCopter please add some documentation how to use (in the docs)
1 parent 4b8e78b commit 58644f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/manual-build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Manual Build
2+
run-name: Manual Build ${{ github.ref_name }} ${{ ((inputs.debug_build == true) && '(debug)') || '' }}
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
debug_build:
8+
description: 'Specifies if it is a debug build or a release build'
9+
default: true
10+
required: false
11+
type: boolean
12+
13+
jobs:
14+
ci:
15+
name: CI
16+
uses: ./.github/workflows/ci.yml
17+
with:
18+
debug_build: ${{ inputs.debug_build }}

0 commit comments

Comments
 (0)