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.

33 lines
1.2 KiB
YAML

name: Build Adventurer's Guide
run-name: ${{ github.actor }} is building Adventurer's Guide
on:
push:
branches:
- main
jobs:
Build-PDF:
# runs-on: registry.gitlab.com/islandoftex/images/texlive:TL2023-2023-04-09-medium
runs-on: ubuntu-latest
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 }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: Install dependencies
run: |
apt-get update && apt-get install -y texlive texlive-latex-extra texlive-fonts-recommended
- name: Build PDF with `latexmk`
run: latexmk
- run: echo "PDF built"
- run: echo "GHtoken $GITHUB_TOKEN"
- run: echo "gt token $GITEA_TOKEN"
# - name: Publish package
# run: |
# curl