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 should 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.

1 Like