mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
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.
This commit is contained in:
parent
fc3985eaa8
commit
56e4f3ffce
1 changed files with 2 additions and 2 deletions
4
.github/workflows/installers.yml
vendored
4
.github/workflows/installers.yml
vendored
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue