From ee321ce777ab34f854fdc3f832aa7c15d664d46a Mon Sep 17 00:00:00 2001 From: eviau-artefactual Date: Thu, 4 Jan 2024 11:50:05 -0500 Subject: [PATCH] try this --- .github/workflows/make-bibs.yml | 39 +-------------------------------- .github/workflows/test-bibs.yml | 37 +++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 .github/workflows/test-bibs.yml diff --git a/.github/workflows/make-bibs.yml b/.github/workflows/make-bibs.yml index e401f62..6095bd7 100644 --- a/.github/workflows/make-bibs.yml +++ b/.github/workflows/make-bibs.yml @@ -3,44 +3,7 @@ name: pandoc-make-bibs on: push jobs: - make_bib: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - - - name: create output dir - id: make_dir - run: mkdir output - - uses: docker://pandoc/core:2.9 - with: - args: >- - --filter=pandoc-citeproc generatebib.md - -o output/archivematica-bib.md - --bibliography archivematica.bib - - uses: docker://pandoc/core:2.9 - with: - args: >- - --filter=pandoc-citeproc - --standalone generatebib.md - -o output/archivematica-bib.html - --bibliography archivematica.bib - - name: make README - run: cat output/archivematica-bib.md intro_placeholder.md > output/README.md - - uses: actions/upload-artifact@v3 - with: - name: output - path: ./ - -on: - pull_request: - types: - - opened - branches: - - 'dev/**' - - 'restructure' - -jobs: - make_bib: + make_publish_bib: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test-bibs.yml b/.github/workflows/test-bibs.yml new file mode 100644 index 0000000..39cb538 --- /dev/null +++ b/.github/workflows/test-bibs.yml @@ -0,0 +1,37 @@ +name: test_bibs +on: + pull_request: + types: + - opened + branches: + - 'dev/**' + - 'restructure' + +jobs: + test_bib: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + + - name: create output dir + id: make_dir + run: mkdir output + - uses: docker://pandoc/core:2.9 + with: + args: >- + --filter=pandoc-citeproc generatebib.md + -o output/archivematica-bib.md + --bibliography archivematica.bib + - uses: docker://pandoc/core:2.9 + with: + args: >- + --filter=pandoc-citeproc + --standalone generatebib.md + -o output/archivematica-bib.html + --bibliography archivematica.bib + - name: make README + run: cat output/archivematica-bib.md intro_placeholder.md > output/README.md + - uses: actions/upload-artifact@v3 + with: + name: output + path: ./