[latex3-commits] [git/LaTeX3-latex3-l3build] main: Update gh action `zauguin/install-texlive` to v2 (129159f)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 20 17:30:22 CET 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/129159ff3dd32d4621f474966257ae04954dffbe

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

commit 129159ff3dd32d4621f474966257ae04954dffbe
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Mon Feb 20 18:19:06 2023 +0800

    Update gh action `zauguin/install-texlive` to v2
    
    which has caching integrated. Drop no longer needed caching steps.
    
    See https://github.com/zauguin/install-texlive/compare/v1.2.1...v2.0.0


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

129159ff3dd32d4621f474966257ae04954dffbe
 .github/workflows/main.yaml | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 7423bd8..34b3f3f 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -13,29 +13,10 @@ jobs:
       # Boilerplate
       - name: Checkout repository
         uses: actions/checkout at v3
-      # GitHub Actions don't regenerate the test if the key doesn't change, so
-      # we integrate a random UUID into the key to keep them different.
-      # DO NOT CHANGE THIS
-      - name: Generate unique ID
-        id: get-id
-        run: |
-          echo "id=$(cat /proc/sys/kernel/random/uuid)" >> $GITHUB_STATE
-      # Actually load the cache. Since we never reuse the key, we need restore-keys
-      # to indicate the prefix of our caches. This loads the newest cache with this
-      # prefix in the key.
-      #
-      # If we want to force regeneration of the cache, increase the number after
-      # *both* instances of "texlive-v"
-      - name: Load cache
-        uses: actions/cache at v3
-        with:
-          path: ~/texlive
-          key: texlive-v0-${{ steps.get-id.outputs.id }}
-          restore-keys: texlive-v0-
       # We need Ghostscript for XeTeX tests.
       - run: sudo apt-get install ghostscript
       - name: Install TeX Live
-        uses: zauguin/install-texlive at v1
+        uses: zauguin/install-texlive at v2
         with:
           # List the required TeX Live packages in a separate file to allow reuse in
           # different workflows.





More information about the latex3-commits mailing list.