Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gogoshika-ga committed Oct 17, 2024
1 parent fcb6a59 commit 928b91d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ jobs:
build:
uses: ./.github/workflows/cmake.yml
with:
build_typez: ${{ matrix.build_type }}
strategy:
matrix:
build_type: ${{ fromJson((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master') && '["Debug","Release"]' || '["Debug"]') }}
build_typez: ${{ fromJson((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master') && '"Debug","Release"' || '"Debug"') }}
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
build_type: inputs.build_typez
build_type: ${{ fromJSON(format('[{0}]', inputs.build_typez || '"Debug","Release"')) }}
c_compiler: [gcc, clang, cl]
include:
- os: windows-latest
Expand Down

0 comments on commit 928b91d

Please sign in to comment.