Skip to content

Commit e4c5ce7

Browse files
committed
unlink and relink
1 parent c323de2 commit e4c5ce7

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/installer.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,25 @@ jobs:
155155
echo >> /Users/runner/.bash_profile
156156
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/runner/.bash_profile
157157
158-
- name: Install Python
159-
run: brew install python
158+
- name: Install Python 3.13
159+
run: |
160+
brew install python@3.13
160161
161162
- name: Install Poetry
162163
run: |
163-
eval "$(/opt/homebrew/bin/brew shellenv)"
164164
python -m site
165165
ls -all $(which python)
166166
curl -sSL https://install.python-poetry.org | python -
167167
168+
- name: Install Python 3.12
169+
run: |
170+
brew install python@3.12
171+
brew unlink python@3.13
172+
brew link --force python@3.12
173+
168174
- name: Test Poetry
169175
run: |
176+
python -m site
170177
poetry new foo
171178
cd foo
172179
poetry add pycowsay

0 commit comments

Comments
 (0)