chore: Bump version to 2.4.1 #73
This file contains 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: Publish to TestFlight | |
concurrency: # Cancel currently running releases when a new one is started | |
group: publish-android-${{ github.ref_name }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- develop | |
paths: | |
- 'project.yml' | |
- 'WaiterRobot/**' | |
- 'TargetSpecificResources/**' | |
- 'fastlane/**' | |
- 'Gemfile' | |
- 'Gemfile.lock' | |
jobs: | |
publish: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Ruby 3.3.0 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.0' | |
bundler-cache: true | |
- name: Netrc maven.pkg.github.com | |
uses: extractions/netrc@v2 | |
with: | |
machine: maven.pkg.github.com | |
username: cirunner | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run XcodeGen | |
run: swift run xcodegen | |
- name: Install xcodes | |
run: brew install xcodes | |
- name: Run tests with fastlane | |
run: bundle exec fastlane test | |
- name: Extract secrets | |
run: | | |
cd fastlane | |
echo "${{ secrets.KEYS_TAR_ASC }}" > .keys.tar.gz.asc | |
gpg -d --passphrase "${{ secrets.KEYS_PASSPHRASE }}" --batch .keys.tar.gz.asc > .keys.tar.gz | |
tar xzf .keys.tar.gz | |
chmod 600 .keys/github-deploy-key | |
cd .. | |
- name: Publish to TestFlight | |
run: bundle exec fastlane releaseWaiterRobot_${{ github.ref_name }} | |
env: | |
FASTLANE_APPLE_ID: ${{ secrets.FASTLANE_APPLE_ID }} | |
FASTLANE_CERTIFICATES_GIT_URL: ${{ secrets.FASTLANE_CERTIFICATES_GIT_URL }} | |
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | |
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} |