Skip to content

Commit

Permalink
Update build-component.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s0hv authored May 26, 2024
1 parent bccf941 commit d5fac65
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,26 @@ on:
- diagnostic

platform:
description: Comma separated list of platforms
type: choice
default: '"Win32", "x64"'
options:
- '"Win32", "x64"'
- '"Win32"'
- '"x64"'

build_configuration:
description: Comma separated list of build configurations
type: choice
default: '"Release", "Debug"'
options:
- '"Release", "Debug"'
- '"Release"'
- '"Debug"'

push:
branches:
- '*'
- 'master'
- 'cover-art-images'
- 'cover-art-images-64bit'
- '!gh-pages'
paths-ignore:
- 'README.md'
Expand All @@ -54,8 +64,8 @@ jobs:

strategy:
matrix:
build_configuration: ${{ fromJSON(format('[{0}]', inputs.build_configuration)) }}
platform: ${{ fromJSON(format('[{0}]', inputs.platform)) }}
build_configuration: ${{ fromJSON(format('[{0}]', inputs.build_configuration || '"Release", "Debug"')) }}
platform: ${{ fromJSON(format('[{0}]', inputs.platform || '"Win32", "x64"')) }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d5fac65

Please sign in to comment.