1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

adding branch main to all GitHub workflows

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
This commit is contained in:
vsoch 2021-06-06 12:56:42 -06:00
parent 5f1ea9e770
commit 997621782b
No known key found for this signature in database
GPG key ID: 02FB636462B8F020
7 changed files with 15 additions and 1 deletions

View file

@ -4,9 +4,11 @@ on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1

View file

@ -4,9 +4,11 @@ on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1

View file

@ -4,9 +4,11 @@ on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules

View file

@ -4,9 +4,12 @@ on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules

View file

@ -4,9 +4,12 @@ on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1

View file

@ -4,9 +4,12 @@ on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1

View file

@ -39,7 +39,6 @@ This template is the result of learnings from many previous projects and should
- Replace the source files with your own
- For header-only libraries: see the comments in [CMakeLists.txt](CMakeLists.txt)
- Add [your project's codecov token](https://docs.codecov.io/docs/quick-start) to your project's github secrets under `CODECOV_TOKEN`
- Update the branch triggers in the [.github/workflows](.github/workflows) to be your main branch (the default is "master" and if your main branch is "main" the workflows will not trigger)
- Happy coding!
Eventually, you can remove any unused files, such as the standalone directory or irrelevant github workflows for your project.