Эх сурвалжийг харах

Merge pull request #776 from Areloch/workflowIfFix

Adds a conditional to the github workflow file so it only runs on the main repo
Brian Roberts 3 жил өмнө
parent
commit
35de012ee7

+ 1 - 0
.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