Skip to content

szenius/set-timezone

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 13, 2020 15:03
September 13, 2020 14:10
September 13, 2020 12:33
March 23, 2023 21:57
September 13, 2020 15:11
March 23, 2023 21:57

Set Timezone Action

Test Action

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: szenius/set-timezone@v1.2
with:
  timezoneLinux: "Asia/Singapore"
  timezoneMacos: "Asia/Singapore"
  timezoneWindows: "Singapore Standard Time"