Add sorting and Params #77
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: Compile LaTeX Document | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Cache Docker layers | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-buildx- | |
- name: Build Docker image | |
run: docker build . -t anemon | |
- name: Run Docker container | |
run: docker run --rm -v ${{ github.workspace }}/assets/latex/output:/app/assets/latex/output anemon | |
- name: LSINFO | |
run: ls -al && tree | |
- name: Upload compiled PDF | |
uses: actions/upload-artifact@v4 | |
with: | |
name: compiled-pdf | |
path: | | |
${{ github.workspace }}/assets/latex/output/*.pdf |