Skip to content

Commit bc1ee84

Browse files
Merge pull request #30 from ccdc-opensource/florianpiesche-patch-1
Set PATH for `xcodes select` task (NO_JIRA)
2 parents e5afcfb + 1e975c2 commit bc1ee84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/Darwin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
- name: Set active Xcode to v{{ xcode_version }} # noqa: no-changed-when
5858
ansible.builtin.command:
5959
cmd: xcodes select {{ xcode_version }}
60+
environment:
61+
PATH: "/opt/homebrew/bin:/usr/local/bin:{{ ansible_env.PATH }}"
6062

6163
- name: Accept Xcode licence # noqa: no-changed-when
6264
ansible.builtin.command:

0 commit comments

Comments
 (0)