Skip to content

Commit 5500d15

Browse files
Add jobs to read github actions versions
1 parent 5eda04c commit 5500d15

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build-and-lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,19 @@ jobs:
3333
- name: Select Xcode
3434
run: sudo xcode-select -s /Applications/Xcode_16.4.app
3535

36+
- name: Read Carthage Version
37+
run: |
38+
CURRENT_XCODE_VERSION=$(xcodebuild -version | grep "Build version" | cut -d' ' -f3)
39+
echo "CURRENT_XCODE_VERSION=$CURRENT_XCODE_VERSION" >> $GITHUB_ENV
40+
41+
- name: Read Xcode Version
42+
run: |
43+
CURRENT_XCODE_VERSION=$(xcodebuild -version | grep "Build version" | cut -d' ' -f3)
44+
echo "CURRENT_XCODE_VERSION=$CURRENT_XCODE_VERSION" >> $GITHUB_ENV
45+
46+
- name: List Xcode Simulators
47+
run: xcrun simctl list --json
48+
3649
- name: Build with Carthage
3750
run: ./Scripts/carthage.sh build --no-skip-current || true
3851

0 commit comments

Comments
 (0)