Skip to content

Merge pull request #858 from kiwicom/remove-duplicate-prompt #102

Merge pull request #858 from kiwicom/remove-duplicate-prompt

Merge pull request #858 from kiwicom/remove-duplicate-prompt #102

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