Update build.yml

This commit is contained in:
Kae 2025-01-02 21:05:05 +11:00 committed by GitHub
parent bbc167de0f
commit 41f0b9001f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ jobs:
build_windows: build_windows:
name: Build OpenStarbound Windows x64 name: Build OpenStarbound Windows x64
runs-on: windows-latest runs-on: windows-latest
if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.windows == true) }} if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.windows == true) }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -180,7 +180,7 @@ jobs:
build-mac-intel: build-mac-intel:
name: Build OpenStarbound macOS x86_64 name: Build OpenStarbound macOS x86_64
runs-on: macos-13 runs-on: macos-13
if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.macOS == true) }} if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -222,7 +222,7 @@ jobs:
build-mac-arm: build-mac-arm:
name: Build OpenStarbound macOS arm64 name: Build OpenStarbound macOS arm64
runs-on: macos-14 runs-on: macos-14
if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.macOS == true) }} if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with: