-
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.03 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:
- master
pull_request:
types: [ opened,synchronize ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
path: gitinfo-lua
fetch-tags: true
fetch-depth: 0
- name: Check out texmf
uses: actions/checkout@v4
with:
repository: Xerdi/texmf-packaging
path: texmf
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: maclotsen/texlive:with-gf
shell: bash
options: --rm -i -v ${{ github.workspace }}/texmf:/root/texmf -v ${{ github.workspace }}:/build
run: |
git config --global --add safe.directory /build/gitinfo-lua
make -C gitinfo-lua build
- name: Archive Documentation
uses: actions/upload-artifact@v3
with:
name: build
path: ${{ github.workspace }}/gitinfo-lua/doc