iOS: Bump build number #901
Workflow file for this run
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: iOS Beta Deployment | |
on: | |
push: | |
branches: | |
- "release/**" | |
- "hotfix/**" | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
files-changed: | |
name: Detect changes | |
uses: ./.github/workflows/detect_changed_files_reusable_workflow.yml | |
with: | |
base: ${{ github.ref }} | |
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum | |
gradle-wrapper-validation: | |
needs: files-changed | |
if: ${{ needs.files-changed.outputs.ios == 'true' || needs.files-changed.outputs.shared == 'true' }} | |
name: Gradle Wrapper Validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/actions/wrapper-validation@v4 | |
# Build, archive for ad-hoc and submit to Firebase App Distribution | |
deployment: | |
name: iOS Beta Deployment | |
needs: gradle-wrapper-validation | |
runs-on: macos-14 | |
environment: ios_production | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- 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 }} | |
- name: Upload error log | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: iosHyperskillApp-iosHyperskillApp.log | |
path: /Users/runner/Library/Logs/gym/iosHyperskillApp-iosHyperskillApp.log |