Skip to content

Scheduled TZDB check #2050

Scheduled TZDB check

Scheduled TZDB check #2050

Workflow file for this run

name: Scheduled TZDB check
on:
push:
branches:
- 'main'
tags:
- 'iana*'
schedule:
- cron: '20 1,13 * * *'
jobs:
scheduled-tzdb-check:
runs-on: ubuntu-latest
steps:
- name: Git setup
run: |
git config --global user.email "[email protected]"
git config --global user.name "Stephen Colebourne"
git config --global advice.detachedHead false
git config --global init.defaultBranch "main"
- name: Checkout global-tz
uses: actions/checkout@v4
with:
ref: 'main'
fetch-depth: 0
- name: Checkout global-tz
uses: actions/checkout@v4
with:
path: 'global'
ref: 'global-tz'
fetch-depth: 0
- name: Checkout iana-tz
uses: actions/checkout@v4
with:
repository: 'eggert/tz'
path: 'iana'
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
check-latest: true
- name: Execute
run: |
java GlobalTzMain.java
- name: Install lzip
run: |
sudo apt-get update -y
sudo apt-get install -y lzip
- name: Build
run: |
cd global
ls -la
make check_mild VERSION="test" ZONETABLES="zone.tab"
make tarballs VERSION="test"
ls -la