mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:18:58 +08: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
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…
x
Reference in New Issue
Block a user