Setting Timezone in 2.0 MacOS Builds

Using the TZ environment key does not work on 2.0 macOS builds. In order to set the timezone, you'll need to add the following command to your configuration: 

      # Set Timezone
      - run:
          name: set timezone
          command: |
            sudo systemsetup -settimezone "$TIMEZONE"

Replace $TIMEZONE with whatever timezone you want to use. You can get a list of all supported timezones with sudo systemsetup -listtimezones.

Was this article helpful?
3 out of 3 found this helpful



Please sign in to leave a comment.