File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11
11
commit :
12
12
description : If the commit you want to test isn't the head of a branch, provide its SHA here
13
13
required : false
14
+ schedule :
15
+ # Run every day at midnight (without cache)
16
+ - cron : ' 0 0 * * *'
14
17
15
18
# Cancel in progress workflows on pull_requests.
16
19
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
@@ -141,7 +144,7 @@ jobs:
141
144
has_gitflow_label :
142
145
${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' Gitflow ') }}
143
146
force_skip_cache :
144
- ${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ') }}
147
+ ${{ github.event_name == 'schedule' || (github.event_name == ' pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ') ) }}
145
148
146
149
job_install_deps :
147
150
name : Install Dependencies
@@ -205,9 +208,8 @@ jobs:
205
208
- name : NX cache
206
209
uses : actions/cache@v3
207
210
# Disable cache when:
208
- # - on develop
209
211
# - on release branches
210
- # - when PR has `ci-skip-cache` label
212
+ # - when PR has `ci-skip-cache` label or on nightly builds
211
213
if : |
212
214
needs.job_get_metadata.outputs.is_release == 'false' &&
213
215
needs.job_get_metadata.outputs.force_skip_cache == 'false'
You can’t perform that action at this time.
0 commit comments