Skip to content

tzdata

tzdata #51

Workflow file for this run

name: tzdata
on:
push:
schedule:
- cron: '0 0 * * 0'
jobs:
cmp:
uses: WaterLemons2k/.github/.github/workflows/compare.yml@main
with:
new: $(sudo apt-get install tzdata | grep '[(-]' | awk -F '[(-]' '{print $2}')
keep-scheduled-workflow-activity:
needs: cmp
if: needs.cmp.outputs.changed == 'false'
uses: WaterLemons2k/scheduled-workflow-activity-action/.github/workflows/reusable.yml@v1
tzdata:
needs: cmp
if: needs.cmp.outputs.changed == 'true'
uses: WaterLemons2k/.github/.github/workflows/git.yml@main
with:
run: |
cp -r /usr/share/zoneinfo/* .
sed -i "3c Version: ${{ needs.cmp.outputs.version }}" README.md
echo "${{ needs.cmp.outputs.version }}" > VERSION
commit_message: "feat: bump tzdata to ${{ needs.cmp.outputs.version }}"
tagging_message: ${{ needs.cmp.outputs.version }}