Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Add iOS to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjort committed Nov 28, 2023
1 parent 7c3803b commit 133278d
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ on:
# Allows us to run the workflow manually from the Actions tab
workflow_dispatch:

branches: [deploy*]


env:
flutter_version: 3.13.6
app_name: concordium_wallet
ruby_version: '3.2'

jobs:
android-build-and-release:
Expand All @@ -37,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Release to Google Play (Internal)
env:
Expand All @@ -46,4 +51,36 @@ jobs:
run: |
bundle exec fastlane supply \
--aab build/app/outputs/bundle/release/app-release.aab \
--track internal
--track internal
android-build-and-release:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
channel: 'stable'
cache: true
- name: Download pub dependencies
run: flutter pub get
- name: Build iOS IPA
run: flutter build ipa
- name: Upload Bundle
uses: actions/upload-artifact@v3
with:
name: concordium-wallet-${{ github.ref_name }}.ipa
path: "${{github.workspace}}/build/ios/ipa/${{ env.app_name }}.ipa
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Upload to testflight
env:
PILOT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
run: |
bundle exec fastlane pilot upload \
--ipa build/ios/ipa/${{ env.app_name }}.ipa \
--track internal

0 comments on commit 133278d

Please sign in to comment.