Skip to content

Bump build number

Bump build number #372

name: iOS Beta Deployment
on:
push:
branches:
- 'release/**'
- 'hotfix/**'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
gradle-wrapper-validation:
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4.1.0
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.1.0
# Build, archive for ad-hoc and submit to Firebase App Distribution
deployment:
name: iOS Beta Deployment
needs: gradle-wrapper-validation
runs-on: macos-13
environment: ios_production
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4.1.0
- name: Setup CI
id: setup
uses: ./.github/actions/setup-ios
with:
git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }}
google-cloud-storage-code-signing-certificates-key: ${{ secrets.GOOGLE_CLOUD_STORAGE_CODE_SIGNING_CERTIFICATES_KEY_CONTENT }}
- name: Submit a new Beta Build to Firebase
working-directory: './iosHyperskillApp'
run: bundle exec fastlane beta install_pods:false
env:
HYPERSKILL_IS_INTERNAL_TESTING: true
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60
IS_GIT_CRYPT_UNLOCKED: ${{ steps.setup.outputs.is-git-crypt-unlocked }}
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_API_KEY_CONTENT }}
GITHUB_USER: ${{ github.actor }}
GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}