浏览代码

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

JeffR 3 年之前
父节点
当前提交
bea7d6f4a1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/cmake.yml

+ 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