lucasavila00 / get-time-action

Get the time in the specified time zone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Time Action

Get the time in the specified time zone

Example usage

      - name: Get Time
        id: time
        uses: nanzm/get-time-action@v1.0
        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

License:MIT License


Languages

Language:JavaScript 100.0%