Changes resulting in 2024-01-23 meeting #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |