Skip to content

Merge pull request #862 from kiwicom/861-add-new-inkdark-button-theme #104

Merge pull request #862 from kiwicom/861-add-new-inkdark-button-theme

Merge pull request #862 from kiwicom/861-add-new-inkdark-button-theme #104

name: Update Country Flags
on:
push:
paths:
- 'Sources/Orbit/Foundation/CountryFlags/CountryFlags.xcassets/**/*'
- 'Automation/update_country_flags.py'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SNAPSHOT_PUSH_TOKEN }}
- name: Regenerate flags accessors
run: |
Automation/update_country_flags.py Sources/Orbit/Foundation/CountryFlags
- name: Upload
run: |
git config --global user.name "Mobile Automation"
git config --global user.email "[email protected]"
git commit -am "Updated country flags enum." || true
git push