Skip to content

update Build App github action #26

update Build App github action

update Build App github action #26

Workflow file for this run

name: Build App
on:
push:
branches:
- "testflight"
- "ci"
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # all history
fetch-tags: true
- name: Install Homebrew dependencies
run: |
env HOMEBREW_NO_AUTO_UPDATE=1 brew install xcbeautify
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
bundler-cache: true
bundler: "2.2.27"
rubygems: "latest"
cache-version: 1 # Increment to invalidate cache
# - name: Decode signing certificate into a file
# env:
# CERTIFICATE_BASE64: ${{ secrets.IOS_DIST_SIGNING_KEY }}
# run: |
# echo $CERTIFICATE_BASE64 | base64 --decode > signing-cert.p12
- name: Run fastlane
run: bundle exec fastlane CI_TO_TESTFLIGHT_DEPLOY
env:
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }}
APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }}
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }}
ASC_P8_KEY_ENCODED: ${{ secrets.ASC_P8_KEY_ENCODED }}
DEVELOPER_APPLE_ID: ${{ secrets.DEVELOPER_APPLE_ID }}
DEVELOPER_APP_IDENTIFIER: ${{ secrets.DEVELOPER_APP_IDENTIFIER }}
GIT_AUTHORIZATION: ${{ secrets.GIT_AUTHORIZATION }}
PROVISIONING_PROFILE_SPECIFIER: ${{ secrets.PROVISIONING_PROFILE_SPECIFIER }}
MATCH_KEYCHAIN_USER: ${{ secrets.MATCH_KEYCHAIN_USER }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_CERTS_URL_LUNAR: ${{ secrets.MATCH_CERTS_URL_LUNAR }}
REPO_GITHUB_TOKEN: ""
- name: Archive IPA and dSYM artifacts
uses: actions/upload-artifact@v3
with:
name: lunar-artifacts
path: |
${{ github.workspace }}/Lunar.ipa
${{ github.workspace }}/Lunar.app.dSYM.zip