Explorar el Código

Adds a conditional to the github workflow file so it only runs on the main repo

JeffR hace 3 años
padre
commit
bea7d6f4a1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      .github/workflows/cmake.yml

+ 1 - 0
.github/workflows/cmake.yml

@@ -12,6 +12,7 @@ env:
 
 
 jobs:
 jobs:
   build:
   build:
+    if: github.repository == 'TorqueGameEngines/Torque3D'
     # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
     # 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.
     # 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
     # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix