get-current-time icon indicating copy to clipboard operation
get-current-time copied to clipboard

Conditional using a time output?

Open dschwarz2011 opened this issue 1 year ago • 1 comments

Is there functionality to be able to create a conditional if statement utilizing one of your formatted timeouputs?

For example, I want a github action steps to only run if the time is after 4AM and before 3:30PM ? I tried creating a separate env var by concat the HOUR:MINUTE:SECOND vars, but it doesn't seem to work. Thanks in advance

dschwarz2011 avatar Nov 27 '23 19:11 dschwarz2011

Maybe you should use https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule

josStorer avatar Jan 28 '24 05:01 josStorer