Skip to content

update workflow

update workflow #7

name: Manual Release Workflow
on:
push:
branches:
- 'releases/**'
jobs:
release-app:
runs-on: macos-14
defaults:
run:
working-directory: ./FootballGather
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/FootballGather/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Select Xcode
run: |
ls /Applications | grep Xcode
sudo xcode-select -switch /Applications/Xcode_16.0.app
- name: Config Tokens
run: |
git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Distribute app
run: bundle exec fastlane distribute_release_app
env:
APP_STORE_CONNECT_API_KEY_KEY_ID: '${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}'
APP_STORE_CONNECT_API_KEY_ISSUER_ID: '${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}'
APP_STORE_CONNECT_API_KEY_KEY: '${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}'
MATCH_GIT_BASIC_AUTHORIZATION: '${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}'
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}'