diff --git a/.github/workflows/Ubuntu-clang-latest.yml b/.github/workflows/Ubuntu-clang-latest.yml index 7364ce46..22d80a75 100644 --- a/.github/workflows/Ubuntu-clang-latest.yml +++ b/.github/workflows/Ubuntu-clang-latest.yml @@ -23,13 +23,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Exit if the branch is not master - run: | - if [[ "${{ github.ref }}" != "refs/heads/master" ]]; then - echo "Branch is not master, exiting." - exit 0 - fi - - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type diff --git a/.github/workflows/Ubuntu-gcc-latest.yml b/.github/workflows/Ubuntu-gcc-latest.yml index a8dbb1c6..f0d43f1f 100644 --- a/.github/workflows/Ubuntu-gcc-latest.yml +++ b/.github/workflows/Ubuntu-gcc-latest.yml @@ -30,13 +30,6 @@ jobs: # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - - name: Exit if the branch is not master - run: | - if [[ "${{ github.ref }}" != "refs/heads/master" ]]; then - echo "Branch is not master, exiting." - exit 0 - fi - - name: Build # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}