Skip to content

Commit

Permalink
Fix CI on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrojnar committed Oct 25, 2024
1 parent 40ce811 commit 7e1ffed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Install brew dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install python@3.8
brew install python@3.12
- name: Install Xcode (macOS)
if: runner.os == 'macOS'
Expand All @@ -134,9 +134,9 @@ jobs:
- name: Install python3 cryptography module (macOS)
if: runner.os == 'macOS'
run: |
python3.8 -m ensurepip
python3.8 -m pip install --upgrade pip
python3.8 -m pip install cryptography
python3.12 -m ensurepip
python3.12 -m pip install --upgrade pip
python3.12 -m pip install cryptography
- name: Find the latest version of Python (Windows)
if: runner.os == 'Windows'
Expand Down Expand Up @@ -181,9 +181,9 @@ jobs:
working-directory: ${{github.workspace}}/build
if: runner.os == 'macOS'
run: |
python3.8 --version
python3.8 -c "import sys; print(sys.executable)"
python3.8 -c "import cryptography; print(f'Python3 cryptography version {cryptography.__version__}')"
python3.12 --version
python3.12 -c "import sys; print(sys.executable)"
python3.12 -c "import cryptography; print(f'Python3 cryptography version {cryptography.__version__}')"
- name: List files (Linux/macOS)
if: runner.os != 'Windows'
Expand Down

0 comments on commit 7e1ffed

Please sign in to comment.