Skip to content

Add docker path

Add docker path #7

Workflow file for this run

name: Code CI
on: [push, pull_request]
jobs:
Build_Release:
runs-on: ubuntu-latest
steps:
- name: Fetch dependancies
run: docker pull ghcr.io/xu-cheng/texlive-full:latest
- name: Check out repository code
uses: actions/checkout@v4
- name: Build
run: |
docker run -v $(pwd):/source ghcr.io/xu-cheng/texlive-full:latest /bin/bash \
-c "make -C source/${{ github.event.repository.name }}"
- name: Store
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: ${{ github.event.repository.name }}/*.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ github.event.repository.name }}/*.pdf