We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87877f8 commit 271dd73Copy full SHA for 271dd73
1 file changed
.github/workflows/check.yml
@@ -64,9 +64,10 @@ jobs:
64
- name: Setup brew python for test ${{ matrix.py }}
65
if: startsWith(matrix.py,'brew@py')
66
run: |
67
- import subprocess
+ import subprocess; import codecs; import os
68
subprocess.check_call(["bash", "-c", f"brew upgrade python@3 || brew install python@3"])
69
- print(f"::add-path::/usr/local/opt/python@3")
+ with codecs.open(os.environ["GITHUB_PATH"], "a", "utf-8") as file_handler:
70
+ file_handler.write("/usr/local/opt/python@3")
71
shell: python
72
- name: Pick environment to run
73
0 commit comments