Skip to content

Commit afaf1b5

Browse files
authored
chore: set xcode version to accommodate latest mocos upgrade (#14530)
1 parent 9f66816 commit afaf1b5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/actions/node-and-build/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,15 @@ runs:
3333
# TODO We should be able to skip yarn / bootstrap if we cache enough things. Leaving because skipping causes issues.
3434
- name: Install
3535
if: inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true'
36-
run: yarn
3736
shell: bash
3837
working-directory: ./amplify-js
38+
run: |
39+
for i in {1..3}; do
40+
echo "Starting attempt $i."
41+
yarn && break
42+
echo "Attempt $i failed."
43+
sleep 5
44+
done
3945
- name: Bootstrap
4046
if: inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true'
4147
run: yarn bootstrap

.github/workflows/callable-e2e-test-detox.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
path: amplify-js
3232
- name: Setup node and build the repository
3333
uses: ./amplify-js/.github/actions/node-and-build
34+
- name: Set Xcode version
35+
run: |
36+
sudo xcode-select -s /Applications/Xcode_16.4.app
3437
- name: Setup samples staging repository
3538
uses: ./amplify-js/.github/actions/setup-samples-staging
3639
with:

0 commit comments

Comments
 (0)