v2.2.3+91 #1
Workflow file for this run
This file contains hidden or 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: iOS Release 🚀 | |
on: | |
push: | |
tags: | |
- 'v*' | |
env: | |
JAVA_VERSION: "21.x" | |
FLUTTER_VERSION: "3.29.x" | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
jobs: | |
build_and_release: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java ☕ | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: ${{ env.JAVA_VERSION }} | |
- name: Setup Flutter 🐦 | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
channel: stable | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Build iOS app 📱 | |
run: flutter build ios --release --no-codesign | |
- name: Setup Ruby & Fastlane 💎 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
- name: Install Fastlane | |
run: cd ios && bundle install | |
- name: Release to App Store | |
env: | |
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | |
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} | |
APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }} | |
run: | | |
cd ios | |
bundle exec fastlane release |