Skip to content

kyle-west/get-time-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Time Action

Get the time in the specified time zone

Example usage

      - name: Get Time
        id: time
        uses: nanzm/[email protected]
        with:
          timeZone: 8
          format: 'YYYY-MM-DD-HH-mm-ss'
      - name: Usage
        env:
          TIME: "${{ steps.time.outputs.time }}"
        run: |
          echo $TIME

Inputs

Parameter Required Info
timeZone false time Zone Default: 8
format false timestamp format string

Outputs

Parameter Info
time time in the specified time zone

License

MIT

About

Get the time in the specified time zone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%