Skip to content

Merge pull request #10 from planetlevel/main #112

Merge pull request #10 from planetlevel/main

Merge pull request #10 from planetlevel/main #112

Workflow file for this run

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