[latex3-commits] [latex3/latex2e] dependabot/github_actions/actions/upload-artifact-4, develop: Split testfiles artifacts (432d3c9a)

github at latex-project.org github at latex-project.org
Sun Dec 24 12:53:43 CET 2023


Repository : https://github.com/latex3/latex2e
On branches: dependabot/github_actions/actions/upload-artifact-4,develop
Link       : https://github.com/latex3/latex2e/commit/432d3c9a7092ed4b741283780b24ba76f59005f3

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

commit 432d3c9a7092ed4b741283780b24ba76f59005f3
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Tue Dec 19 01:59:41 2023 +0800

    Split testfiles artifacts
    
    This change will be required once action `zauguin/l3build-failure-artifacts` uses
    `@actions/artifact` 2.0.0 or newer.


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

432d3c9a7092ed4b741283780b24ba76f59005f3
 .github/workflows/main.yaml    | 6 +++++-
 .github/workflows/pretest.yaml | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index d3efcaa3..264ca0e0 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -148,7 +148,11 @@ jobs:
         if: ${{ always() }}
         uses: zauguin/l3build-failure-artifacts at v1
         with:
-          name: testfiles
+          # example names:
+          # - "testfiles-base-build-pdflatex"
+          # - "testfiles-base-config-1run"
+          # - "testfiles-required/amsmath"
+          name: testfiles-${{ matrix.module }}${{ matrix.config && format('-{0}', matrix.config)  || ''}}${{ matrix.engine && format('-{0}', matrix.engine) || ''}}
           # Decide how long to keep the test output artifact:
           retention-days: 3
   docs:
diff --git a/.github/workflows/pretest.yaml b/.github/workflows/pretest.yaml
index 834add22..121aeb2c 100644
--- a/.github/workflows/pretest.yaml
+++ b/.github/workflows/pretest.yaml
@@ -125,7 +125,11 @@ jobs:
         if: ${{ always() }}
         uses: zauguin/l3build-failure-artifacts at v1
         with:
-          name: testfiles
+          # example names:
+          # - "testfiles-base-build-pdflatex"
+          # - "testfiles-base-config-1run"
+          # - "testfiles-required/amsmath"
+          name: testfiles-${{ matrix.module }}${{ matrix.config && format('-{0}', matrix.config)  || ''}}${{ matrix.engine && format('-{0}', matrix.engine) || ''}}
           # Decide how long to keep the test output artifact:
           retention-days: 3
   docs:





More information about the latex3-commits mailing list.