ci: fix os image build schedule (#1703)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-04-28 12:57:11 +02:00 committed by GitHub
parent 635b98a34f
commit 1d24036f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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