From 211a0937ff8513cf0672329ac69043dc7475119e Mon Sep 17 00:00:00 2001 From: David Dight Date: Sun, 19 May 2024 09:06:33 +1000 Subject: [PATCH] actions update --- .github/workflows/Ubuntu-clang-latest.yml | 7 ------- .github/workflows/Ubuntu-gcc-latest.yml | 7 ------- 2 files changed, 14 deletions(-) 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}}