Setting up xcode

This commit is contained in:
riteshshukla04
2025-08-13 02:20:11 +05:30
parent c97b289c1e
commit 0637397081
3 changed files with 22 additions and 0 deletions

14
.github/actions/setup-xcode/action.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Setup xcode
description: 'Set up your GitHub Actions workflow with a specific version of xcode'
inputs:
xcode-version:
description: 'The xcode version to use'
required: false
default: '16.2.0'
runs:
using: "composite"
steps:
- name: Setup xcode
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd
with:
xcode-version: ${{ inputs.xcode-version }}

View File

@@ -24,9 +24,14 @@ jobs:
- name: 💬 Echo package.json version to Github ENV
run: echo VERSION_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
- name: 🍎 Setup Xcode
uses: ./.github/actions/setup-xcode
- name: 🍎 Run yarn init-ios:new-arch
run: yarn init-ios:new-arch
- name: 🚀 Run fastlane build
run: yarn fastlane:ios:build

View File

@@ -153,6 +153,9 @@ jobs:
with:
node-version: 20
- name: 🍎 Setup Xcode
uses: ./.github/actions/setup-xcode
- name: 🍎 Run yarn init-ios:new-arch
run: yarn init-ios:new-arch