/timezone-action

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

Primary LanguageJavaScriptMIT LicenseMIT

Set Timezone Action

Maintained fork from https://github.com/szenius/set-timezone (Abandoned project)

Test all Platforms

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

uses: MathRobin/timezone-action@v1.1
with:
  timezoneLinux: 'Asia/Singapore'
  timezoneMacos: 'Europe/Paris'
  timezoneWindows: 'W. Central Africa Standard Time'