Update build.yml #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
with: | |
path: lua-placeholders | |
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/lua-placeholders | |
make -C lua-placeholders build | |
- name: Archive Documentation | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: ${{ github.workspace }}/lua-placeholders/doc |