-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (34 loc) · 1.06 KB
/
pdf_build.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
# Copyright (c) 2024 Contributors to COVESA
#
# This program and the accompanying materials are made available under the
# terms of the Mozilla Public License 2.0 which is available at
# https://www.mozilla.org/en-US/MPL/2.0/
#
# SPDX-License-Identifier: MPL-2.0
name: viss_build
on:
push:
pull_request:
workflow_call:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build-pdf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Building
run: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
google-chrome-stable --headless --print-to-pdf=VISSv2_Core.pdf spec/VISSv2_Core.html
google-chrome-stable --headless --print-to-pdf=VISSv2_Transport.pdf spec/VISSv2_Transport.html
- name: "Upload PDFs"
uses: actions/upload-artifact@v4
with:
name: viss-pdfs
path: '*.pdf'