Update build.yml #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ['*'] # Trigger on push events for all branches | |
pull_request: | |
branches: ['master'] # Trigger on pull requests to master | |
workflow_dispatch: # Allow manual triggering of workflow | |
jobs: | |
build: | |
uses: ./.github/workflows/cmake.yml | |
with: | |
build_typez: ${{ (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master') && '"Debug","Release"' || '"Debug"' }} |