diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2023-06-28 07:53:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-28 07:53:40 +0200 |
| commit | 89e559296eda10fa596486c9d3c73dd909aa8c6d (patch) | |
| tree | 005b3538f71e3343431396c56452bbe6947a225c | |
| parent | 71bc4527640305ea095868fe1ef1069f9da3a4fb (diff) | |
| parent | d352e2fa31a36e5666cfc1e99983a0e04b36be29 (diff) | |
Merge pull request #2612 from laytan/master
only run nightly upload if workflow is ran on main repo
| -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 |