From 56e4f3ffce6e2abb12cab009c27082a264d6b9f0 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Wed, 1 Nov 2023 09:07:27 +0100 Subject: [PATCH] Update scheduled event conditions in installers.yml The conditions for the scheduled event in the GitHub installer workflow have been updated. Now it will not only check if the current time is 8 but also if the event is a scheduled one. This ensures the schedule event fires at the right time and under the correct circumstances. --- .github/workflows/installers.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index a1bd2a415b..7821577462 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -60,8 +60,8 @@ jobs: # Get current UTC time now = datetime.datetime.utcnow() - # Check if current hour is 8 - if now.hour == 8: + # Check if current hour is 8 and it is a schedule event + if "${{ github.event_name }}" == "schedule" and now.hour == 8: cura_conan_version = "cura/latest@ultimaker/stable" release_tag = "nightly-5.6"