Skip to content

gerred/current-time

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current Time Javascript Action

This action sets the current ISO8601 time to the time output. Useful for setting build times in subsequent steps, or keeping the same recorded time for the entire workflow.

Outputs

time

The UTC time when this step was run.

Example usage

steps:
- name: Get current time
  uses: gerred/actions/current-time@master
  id: current-time
- name: Use current time
  env:
    TIME: "${{ steps.current-time.outputs.time }}"
  run: echo $TIME

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published