-
Notifications
You must be signed in to change notification settings - Fork 2
65 lines (55 loc) · 1.33 KB
/
scheduled.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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