Fastlane test build #58
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: Fastlane test build | |
permissions: | |
contents: 'write' | |
pull-requests: write | |
on: | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ${{ vars.RUNNER }} | |
timeout-minutes: 35 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install SSH key for access to repository. | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_ACCESS_KEY }} | |
- name: Prepare deps | |
uses: ./.github/actions/prepare-deps | |
- name: Update git config | |
run: | | |
git config --global user.name "William Blake" | |
git config --global user.email "[email protected]" | |
- uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: '15.2' | |
# - name: Download Middleware | |
# run: make setup-middle | |
# env: | |
# MIDDLEWARE_TOKEN: ${{ secrets.MIDDLEWARE_TOKEN }} | |
# - name: Test comment | |
# run: bundle exec fastlane add_linear_comment from_tag:dev/0.22.0/32 to_tag:dev/0.22.0/33 comment:"Test comment \`0.23\`" | |
# env: | |
# LINEAR_TOKEN: ${{ secrets.LINEAR_TOKEN }} | |
# Test GITHUB_TOKEN permissions | |
# - name: Test permissions | |
# run: | | |
# git tag -a "test_1" -m "Test" -f | |
# git push origin test_1 --no-verify -f | |
# bundle exec fastlane bump_major_app_version_number | |
# git add --all | |
# git commit -m 'Test commit' --no-verify | |
# git push --no-verify | |
- name: Build | |
run: | | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
bundle exec fastlane test_build | |
env: | |
GH_TOKEN: ${{ github.token }} | |
MATCH_GIT_PRIVATE_KEY: ${{ secrets.SSH_KEY_FASTLANE_MATCH }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} | |
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_ISSUER_ID }} | |
APP_STORE_CONNECT_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_API_PRIVATE_KEY }} | |
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 | |
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 4 | |
- uses: hmarr/auto-approve-action@v4 |