Skip to content

chore: update build machine to macos-latest #183

chore: update build machine to macos-latest

chore: update build machine to macos-latest #183

Workflow file for this run

name: Build and Test macOS
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Fastlane Auth
run: echo "FASTLANE_GIT_BASIC_AUTHORIZATION=$(echo -n taplytics-robot:${{ secrets.AUTOMATION_USER_TOKEN }} | base64)" >> "$GITHUB_ENV"
- name: "Select Latest Xcode"
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: "Carthage Cached Bootstrap"
uses: DevCycleHQ/carthage-bootstrap@xcframeworks2
with:
github-token: ${{ secrets.AUTOMATION_USER_TOKEN }}
use-xcframeworks: true
- name: Fastlane macOS Tests
run: fastlane mac tests
env:
MATCH_GIT_BASIC_AUTHORIZATION: "${{ env.FASTLANE_GIT_BASIC_AUTHORIZATION }}"
DEVELOPER_APP_ID: "${{ secrets.DEVELOPER_APP_ID }}"
MATCH_PASSWORD: "${{ secrets.MATCH_PASSWORD }}"
TEMP_KEYCHAIN_PASSWORD: "${{ secrets.TEMP_KEYCHAIN_PASSWORD }}"
TEMP_KEYCHAIN_USER: "${{ secrets.TEMP_KEYCHAIN_USER }}"
APPLE_KEY_ID: "${{ secrets.APPLE_KEY_ID }}"
APPLE_ISSUER_ID: "${{ secrets.APPLE_ISSUER_ID }}"
APPLE_KEY_CONTENT: "${{ secrets.APPLE_KEY_CONTENT }}"