Skip to content

Bump actions/setup-python from 5.1.0 to 5.1.1 #5354

Bump actions/setup-python from 5.1.0 to 5.1.1

Bump actions/setup-python from 5.1.0 to 5.1.1 #5354

Workflow file for this run

name: Docs builds
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
paths-ignore:
- 'locale/**'
pull_request:
paths-ignore:
- 'locale/**'
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
format: [html, pdf]
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 1
- name: Set up Python 3.9
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: 3.9
- name: Install Requirements
run: |
if [[ ${{ matrix.format }} != "html" ]]; then
sudo apt-get update && sudo apt-get install -y texlive-xetex fonts-freefont-otf
fi
python -m pip install --upgrade pip
pip install -r REQUIREMENTS.txt
- name: Build English ${{ matrix.format }} documentation
run: |
make ${{ matrix.format }}
- name: Upload ${{ matrix.format }} build artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ matrix.format }} build
path: build/${{ matrix.format }}
retention-days: 15