-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (31 loc) · 1.15 KB
/
full-release.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
name: Zipped Release Complete
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install wkthtmltopdf
run: |
sudo apt-get install -y xfonts-base xfonts-75dpi
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
- name: Install Liberation Fonts
run: |
sudo apt-get update -y
sudo apt-get install -y fonts-liberation
- name: Run .py script for Doc Generation
run: |
cmake . -Bbuild
cmake --build build
- name: Upload zipped doc file to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*.zip
tag: Docs-Release
overwrite: true
file_glob: true
body: "This is a release containing both the zip files (one for the Docs Generated, another containing the Generated PDFs) using Github Actions."