Fix Github action syntax error (#11227)

Fix syntax error in c106350143
This commit is contained in:
Noisyfox
2025-11-01 20:36:28 +08:00
committed by GitHub
parent c106350143
commit bcb0387e0e
2 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ jobs:
strategy:
fail-fast: false
# Don't run scheduled builds on forks:
if: !cancelled() && (github.event_name != 'schedule' || github.repository == 'SoftFever/OrcaSlicer')
if: ${{ !cancelled() && (github.event_name != 'schedule' || github.repository == 'SoftFever/OrcaSlicer') }}
uses: ./.github/workflows/build_check_cache.yml
with:
os: ubuntu-24.04
@@ -67,7 +67,7 @@ jobs:
- os: macos-14
arch: arm64
# Don't run scheduled builds on forks:
if: !cancelled() && (github.event_name != 'schedule' || github.repository == 'SoftFever/OrcaSlicer')
if: ${{ !cancelled() && (github.event_name != 'schedule' || github.repository == 'SoftFever/OrcaSlicer') }}
uses: ./.github/workflows/build_check_cache.yml
with:
os: ${{ matrix.os }}
@@ -131,7 +131,7 @@ jobs:
- arch: aarch64
runner: ubuntu-24.04-arm
# Don't run scheduled builds on forks:
if: !cancelled() && (github.event_name != 'schedule' || github.repository == 'SoftFever/OrcaSlicer')
if: ${{ !cancelled() && (github.event_name != 'schedule' || github.repository == 'SoftFever/OrcaSlicer') }}
runs-on: ${{ matrix.variant.runner }}
env:
date:

View File

@@ -26,7 +26,7 @@ on:
jobs:
build_deps:
name: Build Deps
if: !cancelled() && (inputs.build-deps-only || inputs.force-build || inputs.valid-cache != true)
if: ${{ !cancelled() && (inputs.build-deps-only || inputs.force-build || inputs.valid-cache != true) }}
runs-on: ${{ inputs.os }}
env:
date: