some github-actions-specific adjustments

This commit is contained in:
Remy Moll 2024-12-18 15:50:56 +01:00
parent a59029c809
commit 123b6313fb
2 changed files with 18 additions and 5 deletions

View File

@ -5,7 +5,7 @@ on:
jobs:
build:
runs-on: macos-latest
runs-on: macos-15
steps:
- uses: actions/checkout@v4
@ -31,16 +31,27 @@ jobs:
echo "BUILD_NAME=${REF_NAME//v}" >> $GITHUB_ENV
- name: Setup SSH key for match git repo
run: echo "$MATCH_REPO_SSH_KEY" | base64 --decode > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
# and mark the host as known
run: |
echo $MATCH_REPO_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p 2222 git.kluster.moll.re > ~/.ssh/known_hosts
env:
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
- name: Install fastlane
run: bundle install
run: bundle install && bundle update
working-directory: ios
- name: Install dependencies
run: |
flutter pub get
bundle exec pod install
bundle exec pod update
working-directory: ios
- name: Run fastlane lane
run: bundle exec fastlane deploy_release
run: bundle exec fastlane deploy_release --verbose
working-directory: ios
env:
BUILD_NUMBER: ${{ github.run_number }}

View File

@ -44,7 +44,9 @@ platform :ios do
archive_path: "../build/ios/archive/Runner.xcarchive"
)
upload_to_testflight
upload_to_testflight(
skip_waiting_for_build_processing: true,
)
end