Skip to content

Commit

Permalink
Publish macos with Python 3.8 on macos-12, not latest (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi authored Apr 27, 2024
1 parent 78c6824 commit b9d4934
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ jobs:
matrix:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
include:
- os: macos-latest
- os: macos-13
os-label: macOS
python: "3.8"
- os: macos-latest
Expand All @@ -303,12 +303,12 @@ jobs:
- os: macos-11
os-label: macOS 11
python: "installed"
- os: macos-12
os-label: macOS 12
python: "installed"
- os: macos-13
os-label: macOS 13
python: "installed"
- os: macos-14
os-label: macOS 14
python: "installed"

steps:
- name: Checkout
Expand All @@ -320,6 +320,12 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Setup Python
if: matrix.python == 'venv'
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install virtualenv
if: matrix.python == 'venv'
run: python3 -m pip install virtualenv
Expand Down

0 comments on commit b9d4934

Please sign in to comment.