[🪵] Update josStorer/get-current-time action to v2.1.2 #1637
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2
->v2.1.2
Release Notes
josStorer/get-current-time (josStorer/get-current-time)
v2.1.2
: Get current time v2.1.2Compare Source
What's Changed
New Contributors
Full Changelog: josStorer/get-current-time@v2.1.1...v2.1.2
Get Current Time Github Action
This action sets the current ISO8601 time to the
time
output and also providesreadableTime
,formattedTime
, andmany more digital outputs like
year
,day
,second
, etc. Useful for setting build times in subsequent steps,renaming your artifact, or keeping the same recorded time for the entire workflow.
You can view some typical input/output in the action.test.js file.
Inputs
format
Time format to use - using MomentJS format syntax - optional
utcOffset
UTC offset to use - using MomentJS utcOffset syntax - optional
timezone
Timezone to use - check moment-timezone list -
optional, if set, utcOffset will be ignored, e.g. "America/Los_Angeles"
Outputs
time
The ISO time this action was run, not affected by the parameter
utcOffset
e.g. '2020-01-01T00:30:15.000Z'ISOTime
Same as
time
readableTime
Human-friendly time - affected by the parameter
utcOffset
e.g. 'Wed Jan 01 2020 08:30:15 GMT+0800'formattedTime
The time this action was run - formatted using
format
andutcOffset
inputsyear,month,day,hour,minute,second,millisecond
Digital outputs, just as names
Example usage
v2.1.1
: Get current time v2.1.1Compare Source
What's Changed
New Contributors
v2.1.0
: Get current time v2.1.0Compare Source
Features
timezone
input field (#19)Bug Fixes
Tests
Documents
New Contributors
v2.0.2
: Get current time v2.0.2Compare Source
Update packages by commit-bab18627 to fix a warning (#6)
v2.0.1
: Get current time v2.0.1Compare Source
Update packages
Configuration
📅 Schedule: Branch creation - Every 3 hours, between 06:00 AM and 10:59 PM, Monday through Friday ( * 6-22/3 * * 1-5 ), Every 3 hours, between 12:00 PM and 11:59 PM, only on Sunday and Saturday ( * 12-23/3 * * 0,6 ) in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.