Files

37 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

# Activate as .gitea/workflows/manual-pdf.yml only after the authoritative
# documentation sources have been transferred and clean compilation verified.
name: Assignment 5 manual PDF
on:
push:
branches: [main, manual-build-validation]
jobs:
manual:
runs-on: manual-latex
timeout-minutes: 30
permissions:
contents: read
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Compile the complete manual with visible build identity
env:
GITEA_SHA: ${{ github.sha }}
GITEA_RUN_NUMBER: ${{ github.run_number }}
GITEA_RUN_ID: ${{ github.run_id }}
GITEA_RUN_ATTEMPT: ${{ github.run_attempt }}
run: |
python3 documentation/ci/build_manual.py
test -s documentation/build/main.pdf
test -s documentation/build/build-manifest.json
- name: Publish verified PDF and traceability manifest
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
with:
name: assignment5-1.7.1-run-${{ github.run_number }}-${{ github.sha }}
path: |
documentation/build/main.pdf
documentation/build/build-manifest.json
if-no-files-found: error
retention-days: 14