mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: fix os image build schedule (#1703)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
635b98a34f
commit
1d24036f21
@ -25,13 +25,13 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "${{ github.event.schedule }}" in
|
case "${{ github.event.schedule }}" in
|
||||||
"0 21 * * 5" | "0 21 * * 2")
|
"0 21 * * 4" | "0 21 * * 2")
|
||||||
echo "stream=debug" | tee -a "$GITHUB_OUTPUT"
|
echo "stream=debug" | tee -a "$GITHUB_OUTPUT"
|
||||||
;;
|
;;
|
||||||
"10 21 * * 5" | "10 21 * * 2")
|
"10 21 * * 4" | "10 21 * * 2")
|
||||||
echo "stream=console" | tee -a "$GITHUB_OUTPUT"
|
echo "stream=console" | tee -a "$GITHUB_OUTPUT"
|
||||||
;;
|
;;
|
||||||
"20 21 * * 5" | "20 21 * * 2")
|
"20 21 * * 4" | "20 21 * * 2")
|
||||||
echo "stream=nightly" | tee -a "$GITHUB_OUTPUT"
|
echo "stream=nightly" | tee -a "$GITHUB_OUTPUT"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
# On nightly stream only.
|
# On nightly stream only.
|
||||||
if: |
|
if: |
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
github.event.schedule == '20 21 * * 5' ||
|
github.event.schedule == '20 21 * * 4' ||
|
||||||
github.event.schedule == '20 21 * * 2'
|
github.event.schedule == '20 21 * * 2'
|
||||||
needs: build-image
|
needs: build-image
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
Loading…
Reference in New Issue
Block a user