Skip to content

Commit

Permalink
log upload
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Apr 4, 2024
1 parent 9d24049 commit 415b36f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/make-pdf-1-select.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ jobs:
with:
path: |
chapters/*.aux
${{ github.event.inputs.pdf_target }}.aux
${{ github.event.inputs.pdf_target }}.fdb_latexmk
${{ github.event.inputs.pdf_target }}.fls
${{ github.event.inputs.pdf_target }}.out
${{ github.event.inputs.pdf_target }}.pdf
${{ github.event.inputs.pdf_target }}.toc
${{ github.event.inputs.pdf_target }}.xdv
chapters/*.aux
hpmor*.aux
hpmor*.fdb_latexmk
hpmor*.fls
hpmor*.out
hpmor*.pdf
hpmor*.toc
hpmor*.xdv
key: latex

- name: ls chapters
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
- name: make PDF
run: |
latexmk "${{ github.event.inputs.pdf_target }}"
latexmk "${{ github.event.inputs.pdf_target }}" > /dev/null
- name: publish PDF to release
uses: softprops/action-gh-release@v1
Expand All @@ -82,7 +83,8 @@ jobs:
files: |
./hpmor*.pdf
- uses: actions/upload-artifact@v4
- name: upload log as artifact
uses: actions/upload-artifact@v4
with:
name: "${{ github.event.inputs.pdf_target }}.log"
path: "${{ github.event.inputs.pdf_target }}.log"
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/make-pdf-6-parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
part: [1, 2, 3, 4, 5, 6] # Define the parts to be processed in parallel
part: [hpmor-1, hpmor-2, hpmor-3, hpmor-4, hpmor-5, hpmor-6]
steps:
- name: checkout repository
uses: actions/checkout@v4
Expand All @@ -34,11 +34,17 @@ jobs:
run: sh scripts/install_requirements_pdf.sh > /dev/null

- name: make PDF
run: latexmk hpmor-${{ matrix.part }}
run: latexmk ${{ matrix.part }} > /dev/null

- name: publish PDF to release
uses: softprops/action-gh-release@v2
with:
tag_name: WorkInProgress
prerelease: true
files: hpmor-${{ matrix.part }}.pdf
files: ${{ matrix.part }}.pdf

- name: upload log as artifact
uses: actions/upload-artifact@v4
with:
name: "${{ matrix.part }}.log"
path: "${{ matrix.part }}.log"

0 comments on commit 415b36f

Please sign in to comment.