Skip to content

update to latest plugin #76

update to latest plugin

update to latest plugin #76

Workflow file for this run

# This file generated from a template file maintained in the ivoatex repository.
# To create and install it into a project repository, do:
# make github-preview
# git commit
# git push
#
name: Standard Document PDF Preview generation
env:
doc_name: ProposalDM
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
submodules: true
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup dependencies
run: |
sudo apt update
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super imagemagick graphviz librsvg2-bin
sudo snap install pdftk
- name: Build the document
run: |
./gradlew vodmlDoc -PskipSigning=True
make -C std
make -C std biblio
make -C std ${{ env.doc_name }}-draft.pdf
- name: Check the output
run: |
test -f std/${{ env.doc_name }}-draft.pdf
test -f std/${{ env.doc_name }}.bbl
- name: Move the auto-pdf-preview tag
uses: weareyipyip/walking-tag-action@v2
with:
tag-name: auto-pdf-preview
tag-message: |
Last commit taken into account for the automatically updated PDF preview of this IVOA document.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update the PDF preview
uses: Xotl/cool-github-releases@v1
with:
mode: update
isPrerelease: false
tag_name: auto-pdf-preview
release_name: "Auto PDF Preview"
body_mrkdwn: |
This release aims to provide a PDF preview of the last commit applied on this repository.
It will be updated automatically after each merge of a PullRequest.
**DO NOT PUBLISH THIS PRE-RELEASE!**"
_Corresponding commit: ${{ github.sha }}_
assets: std/${{ env.doc_name }}-draft.pdf;std/generated/proposaldm.vo-dml.png;std/generated/proposalManagement.vo-dml.png
replace_assets: true
github_token: ${{ secrets.GITHUB_TOKEN }}