File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Convert Markdown to PDF
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+
11
+ convert :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : dump workspace location for debugging
16
+ run : |
17
+ echo '${{ github.workspace }}'
18
+
19
+ - name : Checkout code
20
+ uses : actions/checkout@v3
21
+
22
+ - name : Create file list
23
+ id : files_list
24
+ run : |
25
+ mkdir output
26
+ echo "files=$(printf '"%s" ' /home/runner/work/www-project-thick-client-application-security-verification-standard/document/0.1/*.md)" > $GITHUB_OUTPUT
27
+
28
+ - name : Convert Markdown to PDF
29
+ uses : docker://pandoc/latex:2.9
30
+ with :
31
+ args : --output=output/TASVS-v0.1.pdf ${{ steps.files_list.outputs.files }}
32
+
33
+ - name : Upload PDF artifact
34
+ uses : actions/upload-artifact@v3
35
+ with :
36
+ name : output-pdf
37
+ path : output/TASVS-v0.1.pdf
You can’t perform that action at this time.
0 commit comments