File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 33
33
# TODO We should be able to skip yarn / bootstrap if we cache enough things. Leaving because skipping causes issues.
34
34
- name : Install
35
35
if : inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true'
36
- run : yarn
37
36
shell : bash
38
37
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
39
45
- name : Bootstrap
40
46
if : inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true'
41
47
run : yarn bootstrap
Original file line number Diff line number Diff line change 31
31
path : amplify-js
32
32
- name : Setup node and build the repository
33
33
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
34
37
- name : Setup samples staging repository
35
38
uses : ./amplify-js/.github/actions/setup-samples-staging
36
39
with :
You can’t perform that action at this time.
0 commit comments