-
-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (44 loc) · 1.48 KB
/
cibuild.yml
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
name: CI Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
sudo apt update
wget https://github.com/jgm/pandoc/releases/download/2.9/pandoc-2.9-1-amd64.deb
sudo dpkg -i pandoc-2.9-1-amd64.deb
sudo apt-get install libreoffice --no-install-recommends
sudo apt-get install exiftool
python -m pip install --upgrade pip
pip install pandoc
pip install pdfcli
pip install pandocfilters
sudo add-apt-repository --yes ppa:inkscape.dev/stable
sudo apt update
sudo apt-get install inkscape
- name: Generate document
run: |
chmod +x generate-document.sh
./generate-document.sh sbom
- name: Archive document
uses: actions/upload-artifact@v1
with:
name: OWASP_CycloneDX-SBOM-Guide-SNAPSHOT-en.docx
path: SBOM/OWASP_CycloneDX-SBOM-Guide-SNAPSHOT-en.docx
- name: Archive document
uses: actions/upload-artifact@v1
with:
name: OWASP_CycloneDX-SBOM-Guide-SNAPSHOT-en.pdf
path: SBOM/OWASP_CycloneDX-SBOM-Guide-SNAPSHOT-en.pdf
- name: Archive document
uses: actions/upload-artifact@v1
with:
name: OWASP_CycloneDX-SBOM-Guide-SNAPSHOT-en.epub
path: SBOM/OWASP_CycloneDX-SBOM-Guide-SNAPSHOT-en.epub