This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Bump version to 3.2.3 1 #175
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: Create Release Candidate | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
dependencies: | |
runs-on: self-hosted | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Save Dependencies | |
uses: actions/cache@v2 | |
id: cache-dependencies | |
env: | |
cache-name: cache-dependencies | |
with: | |
path: | | |
src/xcode/vendor | |
src/xcode/.bundle | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('src/xcode/Gemfile.lock') }} | |
- name: Install dependencies | |
if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
run: cd src/xcode && arch -arm64 bundle install --path=vendor | |
- name: Save Dependencies | |
uses: actions/cache@v2 | |
if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
env: | |
cache-name: cache-dependencies | |
with: | |
path: | | |
src/xcode/vendor | |
src/xcode/.bundle | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('src/xcode/Gemfile.lock') }} | |
testFlight: | |
runs-on: self-hosted | |
needs: dependencies | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Restore Dependencies | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-dependencies | |
with: | |
path: | | |
src/xcode/vendor | |
src/xcode/.bundle | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('src/xcode/Gemfile.lock') }} | |
- name: swtich to testing environment | |
env: | |
ENVIRONMENTS_FILE_URL: '${{ secrets.ENVIRONMENTS_FILE_URL }}' | |
GITHUB_ACCESS_TOKEN: '${{ secrets.ACCESS_TOKEN_GITHUB }}' | |
run: | | |
./scripts/switch_to_dev_env.sh | |
- name: fastlane testflight | |
env: | |
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}' | |
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: '${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}' | |
MATCH_GIT_BASIC_AUTHORIZATION: '${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}' | |
run: | | |
cd src/xcode && bundle exec fastlane betaRelease --env TestFlight | |
adHocDistribution: | |
runs-on: self-hosted | |
needs: dependencies | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Restore Dependencies | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-dependencies | |
with: | |
path: | | |
src/xcode/vendor | |
src/xcode/.bundle | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('src/xcode/Gemfile.lock') }} | |
- name: swtich to testing environment | |
env: | |
ENVIRONMENTS_FILE_URL: '${{ secrets.ENVIRONMENTS_FILE_URL }}' | |
GITHUB_ACCESS_TOKEN: '${{ secrets.ACCESS_TOKEN_GITHUB }}' | |
run: | | |
./scripts/switch_to_dev_env.sh | |
- name: fastlane appcenter and Mobile Device Cloud | |
env: | |
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}' | |
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: '${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}' | |
MATCH_GIT_BASIC_AUTHORIZATION: '${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}' | |
TSI_CLOUD_URL: '${{ secrets.TSI_CLOUD_URL }}' | |
TSI_CLOUD_TOKEN: '${{ secrets.TSI_CLOUD_TOKEN }}' | |
GITHUB_ACCESS_TOKEN: '${{ secrets.ACCESS_TOKEN_GITHUB }}' | |
run: | | |
cd src/xcode && bundle exec fastlane adHocDistribution |