Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml10
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: