Build the complete Assignment 5 manual on trusted branch pushes
Assignment 5 manual PDF / manual (push) Successful in 47s
Assignment 5 manual PDF / manual (push) Successful in 47s
This commit is contained in:
parent
fa9a32f8a9
commit
c74087a93b
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in New Issue
Block a user