From bea7d6f4a1023194064e445aac49475ea8f7a7b8 Mon Sep 17 00:00:00 2001 From: JeffR Date: Tue, 26 Apr 2022 11:06:15 -0500 Subject: [PATCH] Adds a conditional to the github workflow file so it only runs on the main repo --- .github/workflows/cmake.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f25be008a..d6d2a3f54 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -12,6 +12,7 @@ env: jobs: build: + if: github.repository == 'TorqueGameEngines/Torque3D' # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix