Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/szenius/set-timezone

GitHub action to set timezone in your locale, works with Linux, Windows, MacOS
https://github.com/szenius/set-timezone

action actions github-action github-actions timezone timezones

Last synced: 13 days ago
JSON representation

GitHub action to set timezone in your locale, works with Linux, Windows, MacOS

Awesome Lists containing this project

README

        

# Set Timezone Action

![Test Action](https://github.com/szenius/set-timezone/workflows/.github/workflows/test_run_action.yml/badge.svg)

This action sets timezone in your runner's locale based on its OS.

## Inputs

| Input name | Description | Required ? | Default value |
| --------------- | ------------------------------------------------------------- | ---------- | ------------- |
| timezoneLinux | Timezone you want to set if your runner is running on Linux | false | `UTC` |
| timezoneWindows | Timezone you want to set if your runner is running on Windows | false | `UTC` |
| timezoneMacos | Timezone you want to set if your runner is running on MacOS | false | `GMT` |

## Example usage

```yaml
uses: szenius/[email protected]
with:
timezoneLinux: "Asia/Singapore"
timezoneMacos: "Asia/Singapore"
timezoneWindows: "Singapore Standard Time"
```