Files
comaps/.github/workflows/ios-release.yaml
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

59 lines
1.6 KiB
YAML

name: iOS Release
on:
workflow_dispatch: # Manual trigger
jobs:
ios-release:
name: iOS Release
runs-on: macos-15
env:
DEVELOPER_DIR: /Applications/Xcode_16.app/Contents/Developer
LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII.
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
environment: production
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore release keys
shell: bash
run: |
mkdir -p xcode/keys
echo "$APPSTORE_JSON" | base64 -d > xcode/keys/appstore.json
env:
APPSTORE_JSON: ${{ secrets.APPSTORE_JSON }}
- name: Checkout screenshots
uses: actions/checkout@v4
with:
repository: ${{ secrets.SCREENSHOTS_REPO }}
ssh-key: ${{ secrets.SCREENSHOTS_SSH_KEY }}
ref: master
path: screenshots
- name: Checkout keywords
uses: actions/checkout@v4
with:
repository: ${{ secrets.KEYWORDS_REPO }}
ssh-key: ${{ secrets.KEYWORDS_SSH_KEY }}
ref: master
path: keywords
- name: Update metadata
shell: bash
run: ./tools/python/check_store_metadata.py ios
# NOTE: a new iOS draft must be created before this step
- name: Upload metadata
shell: bash
run: ./fastlane.sh upload_metadata
working-directory: xcode
timeout-minutes: 5
- name: Upload screenshots
shell: bash
run: ./fastlane.sh upload_screenshots
working-directory: xcode
timeout-minutes: 10