Skip to content

Commit e3f0498

Browse files
committed
Revert "Add a once-daily Build All which skips caches (SoftFever#10731)"
This reverts commit b56cefc.
1 parent d69aaee commit e3f0498

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

.github/workflows/build_all.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ on:
3030
- 'build_release_macos.sh'
3131
- 'scripts/flatpak/**'
3232

33-
schedule:
34-
- cron: '35 7 * * *' # run once a day near midnight US Pacific time
35-
3633
workflow_dispatch: # allows for manual dispatch
3734
inputs:
3835
build-deps-only:
@@ -63,7 +60,6 @@ jobs:
6360
os: ${{ matrix.os }}
6461
arch: ${{ matrix.arch }}
6562
build-deps-only: ${{ inputs.build-deps-only || false }}
66-
force-build: ${{ github.event_name == 'schedule' }}
6763
secrets: inherit
6864
flatpak:
6965
name: "Flatpak"

.github/workflows/build_check_cache.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ on:
1212
build-deps-only:
1313
required: false
1414
type: boolean
15-
force-build:
16-
required: false
17-
type: boolean
1815

1916
jobs:
2017
check_cache: # determines if there is a cache and outputs variables used in caching process
@@ -58,5 +55,4 @@ jobs:
5855
os: ${{ inputs.os }}
5956
arch: ${{ inputs.arch }}
6057
build-deps-only: ${{ inputs.build-deps-only }}
61-
force-build: ${{ inputs.force-build }}
6258
secrets: inherit

.github/workflows/build_deps.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,11 @@ on:
1919
build-deps-only:
2020
required: false
2121
type: boolean
22-
force-build:
23-
required: false
24-
type: boolean
2522

2623
jobs:
2724
build_deps:
2825
name: Build Deps
29-
if: inputs.build-deps-only || inputs.force-build || inputs.valid-cache != true
26+
if: inputs.build-deps-only || inputs.valid-cache != true
3027
runs-on: ${{ inputs.os }}
3128
env:
3229
date:
@@ -142,7 +139,7 @@ jobs:
142139
build_orca:
143140
name: Build OrcaSlicer
144141
needs: [build_deps]
145-
if: ${{ !cancelled() && !inputs.build-deps-only && inputs.force-build || (inputs.valid-cache == true && needs.build_deps.result == 'skipped') || (inputs.valid-cache != true && success()) }}
142+
if: ${{ !cancelled() && !inputs.build-deps-only && (inputs.valid-cache == true && needs.build_deps.result == 'skipped') || (inputs.valid-cache != true && success()) }}
146143
uses: ./.github/workflows/build_orca.yml
147144
with:
148145
cache-key: ${{ inputs.cache-key }}

0 commit comments

Comments
 (0)