Skip to content

Main Branch Commit

Main Branch Commit #58

Workflow file for this run

name: Main Branch Commit
on:
push:
branches: [ 'main' ]
schedule:
# At 5:30 am on the 1st and 15th day of the month (every two weeks)
- cron: '30 5 1,15 * *'
workflow_dispatch:
env:
XCODE_VERSION: '15.2'
CURRENT_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
jobs:
main:
runs-on: macos-13
steps:
# Checkout the repository under $GITHUB_WORKSPACE
- name: Checkout Project
uses: actions/checkout@v3
# Ensure correct Xcode version is installed.
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
# Set Ruby version and Cache RubyGem dependencies
- name: Cache RubyGem Dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
# Generate build number
- name: Generate Build Number
uses: onyxmueller/build-tag-number@v1
with:
token: ${{secrets.GITHUB_TOKEN}}
# Build & Distribute
- name: Run Fastlane
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: maierj/[email protected]
with:
lane: 'main'