-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (37 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
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Build Article
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Podman
run: |
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install podman
- name: Install make and git-annex
run: sudo apt-get -y install make git-annex
# Since we use regular actions/checkout@v4 it does not trigger
# auto-enabling of the gin remote
- name: Enable gin remote
run: git annex enableremote gin.g-node.org
- name: Build container article
run: make container-article
- name: Upload PDF artifact
uses: actions/upload-artifact@v2
with:
name: article-pdf
path: article/article.pdf