-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
53 lines (50 loc) · 1.29 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Make documentation with TeXinfo'
description: >-
Build the documentation for a Common Lisp System using TeXinfo.
branding:
icon: box
color: blue
inputs:
system:
description: |
The Common Lisp system to load.
required: true
entrypoint:
description: |
The entrypoint of the program to run.
required: true
runs:
using: 'composite'
steps:
- name: 'Install TeXinfo'
if: runner.os == 'Linux'
shell: sh
run: >-
sudo apt install
texinfo
texlive
- name: 'Install TeXinfo'
if: runner.os == 'macOS'
shell: sh
run: >-
sudo port install
texinfo
texlive
- name: 'Make documentation'
shell: sh
run: >-
makedocstrings=${{ github.action_path }}/docstrings.lisp
makedocsystem=${{ inputs.system }}
${{ github.action_path }}/makedoc
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.system }}.html
path: obj/makedoc/${{ inputs.system }}.html
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.system }}.info
path: obj/makedoc/${{ inputs.system }}.info
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.system }}.pdf
path: obj/makedoc/${{ inputs.system }}.pdf