Skip to content

2.4.0-rev.11

2.4.0-rev.11 #2

Workflow file for this run

name: Deploy to AppStore Connect
on:
release:
types: [published]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Deploy
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name: Extract version number
run: |
echo "VERSION_NUMBER=$(echo ${{ github.ref }} | grep -o "[0-9]*\.[0-9]*\.[0-9]*")" >> $GITHUB_ENV
- name: Verify version number
run: |
echo $VERSION_NUMBER
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup GoogleService-Info.plist
run: |
mkdir -p "FriendlyCompetitions/Firebase/Release"
echo $GOOGLE_SERVICE_INFO_RELEASE > "FriendlyCompetitions/Firebase/Release/GoogleService-Info.plist"
env:
GOOGLE_SERVICE_INFO_RELEASE: ${{ secrets.GOOGLE_SERVICE_INFO_RELEASE }}
- name: Homebrew
run: brew bundle
# https://docs.fastlane.tools/getting-started/ios/authentication/
- name: Deploy
run: bundle exec fastlane deploy
env:
APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
APP_STORE_CONNECT_API_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_API_KEY_CONTENT }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_GIT_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
VERSION_NUMBER: ${{ env.VERSION_NUMBER }}
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 120
- uses: actions/upload-artifact@v3
with:
path: "Friendly Competitions.app.dSYM.zip"