Skip to content

Commit 0093b35

Browse files
Explain the portmanteau and reserve special comment forms (#126)
Fix #114 Fix #125
1 parent e8921d1 commit 0093b35

File tree

7 files changed

+408
-509
lines changed

7 files changed

+408
-509
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,42 @@
11
# A workflow to create the Cyphal Specification PDF
22

33
name: CI
4-
on: [ push, pull_request ]
4+
on: push
55

66
jobs:
77
build:
88
runs-on: ubuntu-latest
99
name: Build PDF file using LaTeX
10-
if: github.event_name == 'pull_request' || contains(github.ref, '/master') || contains(github.ref, '/dev')
1110

1211
steps:
13-
# Checks-out the repository under $GITHUB_WORKSPACE
1412
- name: Checkout
15-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1614
with:
1715
submodules: recursive
1816

19-
# Compile the Cyphal specification with texer DockerHub container
2017
- name: Run texer container
21-
uses: docker://uavcan/texer:ubuntu-18.04
18+
uses: docker://ghcr.io/opencyphal/texer:te22.4.1
2219
with:
2320
entrypoint: /bin/bash
24-
args: -c "pip install -U setuptools && pip install -r requirements.txt && ./compile.sh"
21+
args: >
22+
-c "
23+
git config --global --add safe.directory '*' &&
24+
pip install -U setuptools &&
25+
pip install -r requirements.txt &&
26+
./compile.sh
27+
"
2528
26-
# Upload artifact
2729
- name: Upload pdf as an artifact
28-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v3
2931
with:
3032
name: Cyphal Specification
3133
path: specification/Cyphal_Specification.pdf
34+
if-no-files-found: error
35+
36+
- name: Upload diagnostic snapshot
37+
uses: actions/upload-artifact@v3
38+
if: always()
39+
with:
40+
name: workspace-${{github.job}}
41+
path: '*'
42+
retention-days: 3

.vscode/extensions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"recommendations": [
55
"James-Yu.latex-workshop",
66
"uavcan.dsdl",
7-
"ban.spellright",
87
"ms-vscode-remote.vscode-remote-extensionpack"
98
]
109
}

0 commit comments

Comments
 (0)