-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (41 loc) · 1.16 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
run: sudo apt-get -y install make
- name: Install Datalad
uses: datalad/datalad-action/install@main
- name: Set gin remote for data access
run: git remote add gin https://gin.g-node.org/TheChymera/opfvta-replication-2023.git
- name: Get data from datalad
run: |
git fetch gin
datalad get outputs/*/article.pdf
- 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