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: strategy:
fail-fast: false fail-fast: false
# Don't run scheduled builds on forks: # 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 uses: ./.github/workflows/build_check_cache.yml
with: with:
os: ubuntu-24.04 os: ubuntu-24.04
@@ -67,7 +67,7 @@ jobs:
- os: macos-14 - os: macos-14
arch: arm64 arch: arm64
# Don't run scheduled builds on forks: # 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 uses: ./.github/workflows/build_check_cache.yml
with: with:
os: ${{ matrix.os }} os: ${{ matrix.os }}
@@ -131,7 +131,7 @@ jobs:
- arch: aarch64 - arch: aarch64
runner: ubuntu-24.04-arm runner: ubuntu-24.04-arm
# Don't run scheduled builds on forks: # 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 }} runs-on: ${{ matrix.variant.runner }}
env: env:
date: date:

View File

@@ -26,7 +26,7 @@ on:
jobs: jobs:
build_deps: build_deps:
name: 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 }} runs-on: ${{ inputs.os }}
env: env:
date: date: