-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (32 loc) · 1.29 KB
/
macos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build and Test macOS
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: macos-13-large
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 -w 0)" >> "$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:
FASTLANE_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 }}"