Skip to content

Commit

Permalink
Allow choosing build configuration on dispatch
Browse files Browse the repository at this point in the history
And change default to Release (makes it easier to catch issues early before a release).
  • Loading branch information
kzu committed Jul 8, 2024
1 parent 27a5c9a commit fef4635
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
name: build
on:
workflow_dispatch:
inputs:
configuration:
type: choice
description: Configuration
options:
- Release
- Debug
push:
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
paths-ignore:
Expand All @@ -23,7 +30,8 @@ env:
VersionLabel: ${{ github.ref }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MSBUILDTERMINALLOGGER: auto

Configuration: ${{ github.event.inputs.configuration || 'Release' }}

defaults:
run:
shell: bash
Expand Down

0 comments on commit fef4635

Please sign in to comment.