From 0b3fdbcdd49d71a98a780580eefb58020f973af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mantelet?= Date: Wed, 4 Sep 2024 16:13:09 +0200 Subject: [PATCH 1/3] Add link to PDF preview in README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f06c0f4..645c1a2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![PDF-Preview](https://img.shields.io/badge/Preview-PDF-blue)](../../releases/download/auto-pdf-preview/udf-catalogue-draft.pdf) + ## ADQL User Defined Functions catalogue This is the source code for the list of interoperable user defined functions From 18cb53c17cd016d67bfacc725d583ee893a5c1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mantelet?= Date: Wed, 4 Sep 2024 16:16:33 +0200 Subject: [PATCH 2/3] Fix the build and preview workflows --- .github/workflows/build.yml | 2 +- .github/workflows/preview.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bccf937..499f5ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super - name: Build the document - run: make + run: make biblio forcetex - name: Check the output run: | diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 4043026..39d590c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -27,7 +27,7 @@ jobs: sudo snap install pdftk - name: Build the document - run: make ${{ env.doc_name }}-draft.pdf + run: make biblio ${{ env.doc_name }}-draft.pdf - name: Check the output run: | @@ -35,10 +35,10 @@ jobs: test -f ${{ env.doc_name }}.bbl - name: Move the auto-pdf-preview tag - uses: weareyipyip/walking-tag-action@v1 + uses: weareyipyip/walking-tag-action@v2 with: - TAG_NAME: auto-pdf-preview - TAG_MESSAGE: | + 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 }} From dcd0b7131d0bbeace5bfbeac9f704064ab6e3ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mantelet?= Date: Wed, 4 Sep 2024 16:48:58 +0200 Subject: [PATCH 3/3] Add required make of `gitmeta.tex` --- .github/workflows/build.yml | 2 +- .github/workflows/preview.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 499f5ab..202757f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super - name: Build the document - run: make biblio forcetex + run: make gitmeta.tex biblio forcetex - name: Check the output run: | diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 39d590c..3a87f1f 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -27,7 +27,7 @@ jobs: sudo snap install pdftk - name: Build the document - run: make biblio ${{ env.doc_name }}-draft.pdf + run: make gitmeta.tex biblio ${{ env.doc_name }}-draft.pdf - name: Check the output run: |