-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (32 loc) · 1.04 KB
/
build.yaml
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
# The name of our workflow
name: Build
on: [push, pull_request]
jobs:
build:
name: "build"
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: sudo apt update && sudo apt install -y make python3-lxml python3-pycountry python3-html5lib sgml-base python3-pip python3-google-i18n-address python3-jinja2 python3-markupsafe python3-pyflakes python3-requests
- name: Install xml2rfc
run: sudo pip3 install xml2rfc
- name: Checkout RFC
uses: actions/checkout@v4
with:
path: rfc
- name: build html
working-directory: rfc
run: make openvpn-wire-protocol.html
- name: build txt
working-directory: rfc
run: make openvpn-wire-protocol.txt
- name: Archive html artifact
uses: actions/upload-artifact@v4
with:
name: openvpn-wire-protocol.html
path: rfc/openvpn-wire-protocol.html
- name: Archive txt artifact
uses: actions/upload-artifact@v4
with:
name: openvpn-wire-protocol.txt
path: rfc/openvpn-wire-protocol.txt