Maintained fork from https://github.com/szenius/set-timezone (Abandoned project)
This action sets timezone in your runner's locale based on its OS.
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 |
uses: MathRobin/timezone-action@v1.1
with:
timezoneLinux: 'Asia/Singapore'
timezoneMacos: 'Europe/Paris'
timezoneWindows: 'W. Central Africa Standard Time'