[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Add more related files to GH Actions Artifacts for test failures (31af9843)

Marcel Fabian Krüger tex at 2krueger.de
Mon Jun 20 13:54:15 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/31af984318d66ca495b11824286f082ed143be64

>---------------------------------------------------------------

commit 31af984318d66ca495b11824286f082ed143be64
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Jun 20 13:53:40 2022 +0200

    Add more related files to GH Actions Artifacts for test failures


>---------------------------------------------------------------

31af984318d66ca495b11824286f082ed143be64
 .github/workflows/deploy.yaml | 5 ++---
 .github/workflows/main.yaml   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index c65c094a..9b47e1cb 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -48,11 +48,10 @@ jobs:
       - name: Run l3build
         run: l3build ctan -q -H --show-log-on-error
       - name: Archive failed test output
-        if: ${{ failure() }}
-        uses: actions/upload-artifact at v2
+        if: ${{ always() }}
+        uses: zauguin/l3build-failure-artifacts at v1
         with:
           name: testfiles
-          path: build/test*/*.diff
           # Decide how long to keep the test output artifact:
           retention-days: 3
       # Now create the release (this only runs if the previous steps were successful)
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 06102a68..f7a03542 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -76,11 +76,10 @@ jobs:
       # Now we create the artifacts: There are two cases where this happens.
       # 1. If we failed running tests
       - name: Archive failed test output
-        if: ${{ matrix.artifact_name != 'Documentation' && failure() }}
-        uses: actions/upload-artifact at v2
+        if: ${{ always() }}
+        uses: zauguin/l3build-failure-artifacts at v1
         with:
           name: ${{ matrix.artifact_name }}
-          path: build/test*/*.diff
           # Decide how long to keep the test output artifact:
           retention-days: 3
       # 2. If we succeed building documentation





More information about the latex3-commits mailing list.