build?
Build Adventurer's Guide / Build-PDF (push) Successful in 50s Details

main
HeNine 2 years ago
parent b1807e099d
commit 3b68d67eb0

@ -8,31 +8,29 @@ on:
jobs: jobs:
Build-PDF: Build-PDF:
runs-on: texlive-2023-04-09 runs-on: texlive-2023-04-09
# runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
packages: write
steps: steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - 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 "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 }}." - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Install node - name: Install node
run: apt-get update && apt-get install -y nodejs run: apt-get update && apt-get install -y nodejs
# - name: Install LaTeX packages
# run: tlmgr update --self && tlmgr install cleveref scholax anyfontsize wrapfig framed scholax ly1
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." - 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-fonts-recommended
- name: Build PDF with `latexmk` - name: Build PDF with `latexmk`
run: latexmk -pdf run: latexmk -pdf
# - run: echo "GHtoken $GITHUB_TOKEN"
- name: Publish package - name: Publish package
env: env:
PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }} PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }}
run: | run: |
curl --user henine:$PACKAGE_UPLOAD_TOKEN -X DELETE \
https://git.raptorpond.com/api/packages/henine/generic/adventurers_guide/latest/
curl --user henine:$PACKAGE_UPLOAD_TOKEN \ curl --user henine:$PACKAGE_UPLOAD_TOKEN \
--fail-with-body \ --fail-with-body \
--upload-file "Adventurer's Guide to Savits.pdf" \ --upload-file "Adventurer's Guide to Savits.pdf" \

Loading…
Cancel
Save