Skip to content

Scheduled TZDB check #1440

Scheduled TZDB check

Scheduled TZDB check #1440

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@v3
with:
ref: 'main'
fetch-depth: 0
- name: Checkout global-tz
uses: actions/checkout@v3
with:
path: 'global'
ref: 'global-tz'
fetch-depth: 0
- name: Checkout iana-tz
uses: actions/checkout@v3
with:
repository: 'eggert/tz'
path: 'iana'
fetch-depth: 0
- uses: actions/setup-java@v3
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 VERSION="test" ZONETABLES="zone.tab"
make tarballs VERSION="test"
ls -la