summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2023-01-03 08:32:38 +0100
committerStefan Behnel <stefan_ml@behnel.de>2023-01-03 08:32:38 +0100
commit4f7d52741149056dd4addde65d6257a80f8ade9e (patch)
tree7a2e63925ebda5b1dcfb902e0fc38ae30e459b87
parent6aa47a7ae23b3d622f19044c23181a197dcd209d (diff)
downloadpython-lxml-4f7d52741149056dd4addde65d6257a80f8ade9e.tar.gz
CI: Try to fix macOS build condition.
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--.github/workflows/wheels.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bc90308b..1745b73e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -156,14 +156,14 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install MacOS dependencies
- if: startsWith(runner.os, 'macos-')
+ if: startsWith(runner.os, 'mac')
run: |
brew install automake libtool ccache
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
- name: Cache [ccache]
uses: pat-s/always-upload-cache@v3.0.11
- if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macos')
+ if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'mac')
with:
path: ~/.ccache
key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ hashFiles('.github/workflows/ci.yml', 'tools/ci-run.sh') }}
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index ae79122f..29d31f9c 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -167,7 +167,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install MacOS dependencies
- if: startsWith(runner.os, 'macos-')
+ if: startsWith(runner.os, 'mac')
run: |
brew install automake libtool
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
@@ -177,7 +177,7 @@ jobs:
- name: Cache [libs]
uses: actions/cache@v3
- if: startsWith(runner.os, 'macos-')
+ if: startsWith(runner.os, 'mac')
with:
path: |
libs/*.xz