Raster properties - elevation mode #5508
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.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@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: ${{ matrix.format }} build | |
path: build/${{ matrix.format }} | |
retention-days: 15 |