Skip to content

Update metadata

Update metadata #1647

name: Update metadata
on:
workflow_dispatch:
schedule:
- cron: '0 */12 * * *' # Every 12 hours
jobs:
build:
runs-on: macos-latest
steps:
- name: Configure Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install XML to JSON converter
run: pip install xmljson
- name: Checkout
uses: actions/checkout@v4
- name: Authorize
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
- name: Update Metadata
run: cd PhoneNumberKit/Resources && sh ./update_metadata.sh