-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.01 KB
/
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
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: [self-hosted, arch]
name: Build and Deploy
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build images
run: |
plantuml files/architecture.txt -tsvg
plantuml files/dynamic_libraries.txt -tsvg
plantuml files/interpreted_languages.txt -tsvg
plantuml files/plugin_integration_test.txt -tsvg
plantuml files/hourglass.txt -tsvg
plantuml files/global_offset_table.txt -tsvg
plantuml files/mock_implementation.txt -tsvg
plantuml files/wayland_architecture.txt -tsvg
- name: Build PDF
run: |
mkdir output
typst compile ReSet.typ output/ReSet.pdf
- name: Upload PDF file
uses: actions/upload-pages-artifact@v3
with: { path: 'output' }
- name: Deploy PDF
uses: actions/deploy-pages@v4