forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (42 loc) · 1.15 KB
/
papers-and-specs.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
42
43
44
45
46
47
# This job builds various papers and deploys them to:
# https://plutus.cardano.intersectmbo.org/resources
name: "📝 Papers & Specs"
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: [self-hosted, plutus-ci]
permissions:
contents: write
environment:
name: github-pages
steps:
- name: Checkout
uses: actions/checkout@main
- name: Build Papers
run: |
TARGETS=(
plutus-report
plutus-core-spec
extended-utxo-spec
unraveling-recursion-paper
system-f-in-agda-paper
eutxo-paper
utxoma-paper
eutxoma-paper
)
mkdir -p _resources
for target in "${TARGETS[@]}"; do
nix build --no-warn-dirty --accept-flake-config .#latex-documents.x86_64-linux.${target}
cp -fr ./result/*.pdf _resources/${target}.pdf
done
- name: Publish Papers
uses: JamesIves/[email protected]
with:
folder: _resources
target-folder: resources
single-commit: true