You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.3 KiB
YAML

1 year ago
name: Build Adventurer's Guide
run-name: ${{ github.actor }} is building Adventurer's Guide
1 year ago
on:
push:
branches:
- main
1 year ago
jobs:
Build-PDF:
1 year ago
runs-on: texlive-2023-04-09
1 year ago
# runs-on: ubuntu-latest
1 year ago
permissions:
contents: read
packages: write
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }}."
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
1 year ago
- name: Install node
1 year ago
run: apt-get update && apt-get install -y nodejs
- name: Install LaTeX packages
1 year ago
run: tlmgr update --self && tlmgr install cleveref scholax anyfontsize wrapfig
1 year ago
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
1 year ago
# - name: Install dependencies
# run: |
# apt-get update && apt-get install -y texlive texlive-fonts-recommended
1 year ago
- name: Build PDF with `latexmk`
run: latexmk
- run: echo "PDF built"
1 year ago
- run: echo "GHtoken $GITHUB_TOKEN"
- run: echo "gt token $GITEA_TOKEN"
1 year ago
# - name: Publish package
# run: |
1 year ago
# curl