-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: update | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: '0 10 * * 3' | ||
|
||
jobs: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
update: | ||
name: update zonetab | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
run: sudo apt-get --no-install-recommends -q -y install ruby-dev gperf | ||
- name: Install dependencies | ||
run: sudo gem install --no-document nokogiri | ||
- name: Update zonetab | ||
working-directory: ext/date | ||
run: | | ||
make -f prereq.mk update-zonetab | ||
make -f prereq.mk zonetab.h | ||
env: | ||
top_srcdir: ../.. | ||
srcdir: . | ||
RUBY: /usr/bin/ruby | ||
- name: Check diffs | ||
run: | | ||
git config --global user.email "nobu@ruby-lang.org" | ||
git config --global user.name "Nobuyoshi Nakada" | ||
git commit --allow-empty --message="Update zonetab.h at $(date +%F)" ext/date | ||
git diff --no-ext-diff --ignore-submodules --exit-code HEAD^..HEAD || | ||
{ | ||
git pull --ff-only origin ${GITHUB_REF#refs/heads/} | ||
git push origin ${GITHUB_REF#refs/heads/} | ||
} |
Hi @nobu thanks for fixing this. Will there be an official release in
ruby/date
andruby/ruby
with this fix in the near future?