Skip to content

Update ci

Update ci #43

Workflow file for this run

name: Gitinfo Lua CI/CD
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
path: ${{ github.workspace }}/gitinfo-lua
fetch-tags: true
fetch-depth: 0
- name: Check out texmf
uses: actions/checkout@v4
with:
repository: Xerdi/texmf-packaging
path: ${{ github.workspace }}/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:/home/ltxuser/texmf -v ${{ github.workspace }}:/data
run: |
echo PWD: $PWD
echo FILES:
ls
git config --global --add safe.directory /data/gitinfo-lua
make -C gitinfo-lua build
- name: Archive Documentation
uses: actions/upload-artifact@v3
with:
name: build
path: ${{ github.workspace }}/gitinfo-lua/doc