File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Render the spec to PDF and Word on pull requests and releases, attaching the
2+ # outputs to the pull request / release, as appropriate.
3+
4+ name : Render spec
5+
6+ on :
7+ pull_request :
8+ release :
9+ types : [published]
10+
11+ jobs :
12+ render :
13+ runs-on : ubuntu-latest
14+ container :
15+ image : ghcr.io/trustedcomputinggroup/pandoc:0.8.1
16+ name : Render PDF
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v3
20+
21+ - name : Render
22+ uses : trustedcomputinggroup/markdown@v0.4.2
23+ with :
24+ extra-build-options : " --gitstatus --plain_quotes"
25+ input-md : spec.md
26+ output-pdf : spec.pdf
27+ output-docx : spec.docx
28+
29+ - name : Upload PDF to PR
30+ uses : actions/upload-artifact@master
31+ if : ${{ github.event_name == 'pull_request' }}
32+ with :
33+ name : spec
34+ path : spec.pdf
35+
36+ - name : Upload PDF and docx to release
37+ uses : svenstaro/upload-release-action@v2
38+ if : ${{ github.event_name == 'release' }}
39+ with :
40+ repo_token : ${{ secrets.GITHUB_TOKEN }}
41+ file : spec.*
42+ tag : ${{ github.ref }}
43+ overwrite : true
44+ file_glob : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11---
22title : " Document Title"
3- version : 0.1
4- revision : 1
5- date : 2022/09/17
63type : SPECIFICATION
7- status : DRAFT
84...
95
106---
@@ -43,11 +39,11 @@ owners.
4339
4440# Change History
4541
46- | ** Revision ** | ** Date ** | ** Description ** |
47- | ------------ | ---------- | --------------- |
48- | 0.1/1 | 2022/09/17 | Initial draft |
49-
50- ---
42+ --------------------------------------------------------------------------------
43+ ** Version ** ** Date ** ** Description **
44+ ----------- ---------- ---------------------------------------------------------
45+ 0.1 2024/01/29 Initial draft
46+ --------------------------------------------------------------------------------
5147
5248# Document Style
5349
@@ -72,6 +68,7 @@ comment_, it can be considered a _normative statement_.
7268
7369EXAMPLE:
7470
71+ ::: Informative :::
7572> This is the first paragraph of 1–n paragraphs containing text of the kind
7673> informative comment ...
7774>
@@ -81,6 +78,7 @@ EXAMPLE:
8178>
8279> To understand the TCG specification, the user must read the specification.
8380> (This use of MUST does not require any action).
81+ :::::::::::::::::::
8482
8583---
8684
You can’t perform that action at this time.
0 commit comments