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

This commit is contained in:
JeffR 2022-04-26 11:06:15 -05:00
parent 9a436f3c17
commit bea7d6f4a1

View file

@ -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