-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (42 loc) · 1.27 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
47
48
49
50
51
52
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
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
# 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 rescience article
run: make container-article FORMAT=rescience
- name: Build frontiers article
run: make container-article FORMAT=frontiers
- name: Upload PDF artifact
uses: actions/upload-artifact@v2
with:
name: article-frontiers
path: article/article.pdf