diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-05-31 07:29:09 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-05-31 07:29:09 +1000 |
commit | c1cf33f65bd617781aa450fc07636a012f24039a (patch) | |
tree | 10d94ffb7c4a7255e4b320dd7bf4fa970e4c2405 /.github | |
parent | d9481850f365b4fe0424d299480d3cb114b1c446 (diff) |
Update build.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42e506c..4334ce2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: build_windows: name: Build OpenStarbound Windows x64 runs-on: windows-latest - if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.windows == true) }} + if: ${{ (github.event_name != 'pull_request') && ((github.event_name != 'workflow_dispatch') || (inputs.windows == true)) }} steps: - name: Checkout uses: actions/checkout@v4 @@ -191,10 +191,10 @@ jobs: name: OpenStarbound-Linux-GCC-Server path: server.tar - build_linux_Clang: + build_linux_clang: name: Build OpenStarbound Linux Clang x86_64 runs-on: ubuntu-22.04 - if: ${{ inputs.linux_clang == true }} + if: ${{ (github.event_name != 'pull_request') && (inputs.linux_clang == true) }} env: CC: clang CXX: clang++ @@ -270,7 +270,7 @@ jobs: build-mac-intel: name: Build OpenStarbound macOS x86_64 runs-on: macos-13 - if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }} + if: ${{ (github.event_name != 'pull_request') && ((github.event_name != 'workflow_dispatch') || (inputs.macOS == true)) }} steps: - uses: actions/checkout@v4 with: @@ -312,7 +312,7 @@ jobs: build-mac-arm: name: Build OpenStarbound macOS arm64 runs-on: macos-14 - if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }} + if: ${{ (github.event_name != 'pull_request') && ((github.event_name != 'workflow_dispatch') || (inputs.macOS == true)) }} steps: - uses: actions/checkout@v4 with: |