Skip to content

Update metadata

Update metadata #856

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.9'
- name: Install XML to JSON converter
run: pip install xmljson
- name: Checkout
uses: actions/checkout@v3
- name: Authorize
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
- name: Update Metadata
run: cd PhoneNumberKit/Resources && sh ./update_metadata.sh