Update metadata #1667
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
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 |