fix session time with multiple sessions during the same run #266
This file contains hidden or 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 | |
| tags-ignore: ['*'] # Ignore push events on all tags | |
| pull_request: | |
| branches: ['main'] # Trigger on pull requests to main | |
| workflow_dispatch: # Allow manual triggering of workflow | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/cmake.yml | |
| with: | |
| build_type: ${{ (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') && '"Debug","Release"' || '"Debug"' }} | |
| upload_artifacts: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' }} |