diff --git a/.github/workflows/build-latex-diff.yml b/.github/workflows/build-latex-diff.yml index fa883c3..f459d6d 100644 --- a/.github/workflows/build-latex-diff.yml +++ b/.github/workflows/build-latex-diff.yml @@ -31,9 +31,18 @@ jobs: TEXINPUTS: ".:$PWD/../latex-styles-master/styles//:" BSTINPUTS: ".:$PWD/../latex-styles-master/styles/common" BIBINPUTS: ".:$PWD/../latex-styles-master/share" + continue-on-error: true - name: Upload PDF - uses: actions/upload-artifact@v2 + if: steps.CompileLaTeXdiff.outcome == 'success' + uses: actions/upload-artifact@v3 with: - name: DiffPDF + name: Success--Here-is-the-Diff-PDF path: | ${{ env.PAPER }}-diff${{ env.MAIN }}.pdf + - name: Upload build logs + if: steps.CompileLaTeXdiff.outcome == 'failure' + uses: actions/upload-artifact@v3 + with: + name: Diff-Build-Failed--Here-are-the-Logs + path: | + **/*.log diff --git a/.github/workflows/build-latex.yml b/.github/workflows/build-latex.yml index 31e0f52..199e98d 100644 --- a/.github/workflows/build-latex.yml +++ b/.github/workflows/build-latex.yml @@ -30,9 +30,18 @@ jobs: TEXINPUTS: ".:$PWD/../latex-styles-master/styles//:" BSTINPUTS: ".:$PWD/../latex-styles-master/styles/common" BIBINPUTS: ".:$PWD/../latex-styles-master/share" + continue-on-error: true - name: Upload PDF + if: steps.CompileLaTeXdocument.outcome == 'success' uses: actions/upload-artifact@v3 with: - name: PDF + name: Success--Here-is-the-PDF path: | ${{ env.PAPER }}.pdf + - name: Upload build logs + if: steps.CompileLaTeXdocument.outcome == 'failure' + uses: actions/upload-artifact@v3 + with: + name: Build-Failed--Here-are-the-Logs + path: | + **/*.log diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 3625d54..36ce203 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -14,6 +14,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - prefix: "Here is the compiled" + prefix: "Status:" format: "name" addTo: "pull"