Skip to content

Commit 8556589

Browse files
authored
[NONE]: build workflow 수정 (#19)
1 parent f3473bc commit 8556589

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.github/workflows/buildTest.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ on:
99

1010
jobs:
1111
build-and-test:
12-
runs-on: macos-latest
12+
runs-on: macos-15
1313

1414
steps:
1515
- name: Checkout Repo
1616
uses: actions/checkout@v4
1717

18+
- name: Select Xcode 16.4
19+
run: sudo xcode-select -s /Applications/Xcode_16.4.app
20+
1821
- name: Setup mise & install Tuist
1922
uses: jdx/mise-action@v2
2023

@@ -24,36 +27,19 @@ jobs:
2427
TUIST_VERSION=$(grep '^tuist' mise.toml | sed 's/.*= "\(.*\)"/\1/')
2528
echo "TUIST_VERSION=$TUIST_VERSION" >> $GITHUB_ENV
2629
27-
- name: Cache Tuist
28-
uses: actions/cache@v4
29-
id: cache-tuist
30-
with:
31-
path: ~/.local/share/mise/installs/tuist/${{ env.TUIST_VERSION }}
32-
key: tuist-${{ runner.os }}-${{ env.TUIST_VERSION }}
33-
34-
- name: Install Tuist (if not cached)
35-
if: steps.cache-tuist.outputs.cache-hit != 'true'
30+
- name: Install Tuist
3631
run: mise install tuist@${{ env.TUIST_VERSION }}
3732

3833
- name: Activate Tuist
3934
run: |
4035
mise use -g tuist@${{ env.TUIST_VERSION }}
4136
tuist version
4237
43-
- name: Detect Tuist Project Directory
44-
id: detect-tuist-dir
45-
run: |
46-
echo "Searching for Project.swift..."
47-
TUIST_DIR=$(find . -name "Project.swift" -exec dirname {} \; | head -n 1)
48-
echo "Found Tuist directory: $TUIST_DIR"
49-
echo "tuist_path=$TUIST_DIR" >> $GITHUB_OUTPUT
50-
5138
- name: Install Dependencies with Tuist
52-
working-directory: ${{ steps.detect-tuist-dir.outputs.tuist_path }}
5339
run: |
5440
tuist install
5541
56-
- name: Run Tests
57-
working-directory: ${{ steps.detect-tuist-dir.outputs.tuist_path }}
42+
- name: Build
5843
run: |
44+
tuist generate
5945
tuist build

0 commit comments

Comments
 (0)