mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix installation of Python packages in generate docs CI job again
This pins the generate-docs GH workflow to run on a fixed version of ubuntu so we get defined semantics of `pip install` wrt system packages. We were previously using the `ubuntu-latest` image and GH has been switching this from ubuntu-22.04 to 24.04 and back again, also see https://github.com/actions/runner-images/issues/10636.
This commit is contained in:
parent
ec9d6932fc
commit
42762aa06e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/generate-docs.yml
vendored
4
.github/workflows/generate-docs.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
permissions:
|
||||
contents: write # for Git to git push
|
||||
if: github.repository == 'zeek/zeek'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
# We only perform a push if the action was triggered via a schedule
|
||||
|
@ -71,7 +71,7 @@ jobs:
|
|||
# `python2` so this is a simple workaround until we drop Python 2
|
||||
# support and explicitly use `python3` for all invocations.
|
||||
sudo ln -sf /usr/bin/python3 /usr/local/bin/python
|
||||
sudo pip3 install --break-system-packages -r doc/requirements.txt
|
||||
sudo pip3 install -r doc/requirements.txt
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue