🔧 Fix install tuist #188
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | ||
on: [pull_request, push] | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: AckeeCZ/[email protected] | ||
- uses: actions/cache@v3 | ||
with: | ||
path: Carthage | ||
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} | ||
restore-keys: | | ||
${{ runner.os }}-carthage- | ||
- name: Install Tuist | ||
run: | | ||
curl https://mise.run | sh | ||
~/.local/bin/mise install tuist | ||
- name: Build Carthage dependencies | ||
run: carthage bootstrap --cache-builds --use-xcframeworks | ||
- name: Generate project | ||
run: | | ||
~/.local/bin/mise exec -- tuist fetch | ||
~/.local/bin/mise exec -- tuist generate | ||
- name: Build project | ||
run: ~/.local/bin/mise exec -- tuist build |