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?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.