diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2023-06-27 23:30:33 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2023-06-27 23:33:18 +0200 |
| commit | d352e2fa31a36e5666cfc1e99983a0e04b36be29 (patch) | |
| tree | 1b1fe2132001dac00122d5b9689288f42bd06212 /.github | |
| parent | cdcb64b0d08be85c3ea579270eeb4d193b4cb495 (diff) | |
only run nightly upload if workflow is ran on main repo
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/nightly.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 67d0396c1..0bfaa11e9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -7,6 +7,7 @@ on: jobs: build_windows: + if: github.repository == 'odin-lang/Odin' runs-on: windows-2022 steps: - uses: actions/checkout@v1 @@ -37,6 +38,7 @@ jobs: name: windows_artifacts path: dist build_ubuntu: + if: github.repository == 'odin-lang/Odin' runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 @@ -61,6 +63,7 @@ jobs: name: ubuntu_artifacts path: dist build_macos: + if: github.repository == 'odin-lang/Odin' runs-on: macOS-latest steps: - uses: actions/checkout@v1 |