diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index dfd8deda96..f61a8b07e9 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -30,9 +30,6 @@ on: - 'build_release_macos.sh' - 'scripts/flatpak/**' - schedule: - - cron: '35 7 * * *' # run once a day near midnight US Pacific time - workflow_dispatch: # allows for manual dispatch inputs: build-deps-only: @@ -63,7 +60,6 @@ jobs: os: ${{ matrix.os }} arch: ${{ matrix.arch }} build-deps-only: ${{ inputs.build-deps-only || false }} - force-build: ${{ github.event_name == 'schedule' }} secrets: inherit flatpak: name: "Flatpak" diff --git a/.github/workflows/build_check_cache.yml b/.github/workflows/build_check_cache.yml index a97962aa7e..fcb55681d8 100644 --- a/.github/workflows/build_check_cache.yml +++ b/.github/workflows/build_check_cache.yml @@ -12,9 +12,6 @@ on: build-deps-only: required: false type: boolean - force-build: - required: false - type: boolean jobs: check_cache: # determines if there is a cache and outputs variables used in caching process @@ -58,5 +55,4 @@ jobs: os: ${{ inputs.os }} arch: ${{ inputs.arch }} build-deps-only: ${{ inputs.build-deps-only }} - force-build: ${{ inputs.force-build }} secrets: inherit diff --git a/.github/workflows/build_deps.yml b/.github/workflows/build_deps.yml index 629fdde2e7..5e430bc85f 100644 --- a/.github/workflows/build_deps.yml +++ b/.github/workflows/build_deps.yml @@ -19,14 +19,11 @@ on: build-deps-only: required: false type: boolean - force-build: - required: false - type: boolean jobs: build_deps: name: Build Deps - if: inputs.build-deps-only || inputs.force-build || inputs.valid-cache != true + if: inputs.build-deps-only || inputs.valid-cache != true runs-on: ${{ inputs.os }} env: date: @@ -142,7 +139,7 @@ jobs: build_orca: name: Build OrcaSlicer needs: [build_deps] - if: ${{ !cancelled() && !inputs.build-deps-only && inputs.force-build || (inputs.valid-cache == true && needs.build_deps.result == 'skipped') || (inputs.valid-cache != true && success()) }} + if: ${{ !cancelled() && !inputs.build-deps-only && (inputs.valid-cache == true && needs.build_deps.result == 'skipped') || (inputs.valid-cache != true && success()) }} uses: ./.github/workflows/build_orca.yml with: cache-key: ${{ inputs.cache-key }}