[latex3-commits] [git/LaTeX3-latex3-luaotfload] actions_experiment: Experiment with Actions (d8a8c10)

Marcel Fabian Krüger tex at 2krueger.de
Mon Nov 28 21:04:53 CET 2022


Repository : https://github.com/latex3/luaotfload
On branch  : actions_experiment
Link       : https://github.com/latex3/luaotfload/commit/d8a8c10a45cac368201327e5990684964a192431

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

commit d8a8c10a45cac368201327e5990684964a192431
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Nov 28 20:58:33 2022 +0100

    Experiment with Actions


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

d8a8c10a45cac368201327e5990684964a192431
 .github/workflows/deploy.yaml | 24 ++----------------------
 .github/workflows/main.yaml   | 23 ++---------------------
 2 files changed, 4 insertions(+), 43 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index b1d5ed0..9ee2b57 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -14,33 +14,13 @@ jobs:
       # Boilerplate
       - name: Checkout repository
         uses: actions/checkout at v2
-      # 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 -n ::set-output name=id::
-          cat /proc/sys/kernel/random/uuid
-      # 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 v2
-        with:
-          path: ~/texlive
-          key: texlive-v0-${{ steps.get-id.outputs.id }}
-          restore-keys: texlive-v0-
-      # We need docutils for our documentation
       - run: sudo apt-get install python3-docutils
       - name: Install TeX Live
-        uses: zauguin/install-texlive at v1
+        uses: zauguin/install-texlive at 0c87efffa145ce68b6c7baf65f639dab0c4bd3ba
         with:
           # Here we use the same list of packages as in the testing workflow.
           package_file: .github/tl_packages
+          cache_version: 0
       - name: Run l3build
         run: l3build ctan -H --show-log-on-error
       - name: Create GitHub release
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 81d37c3..f80d3d4 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -39,34 +39,15 @@ jobs:
       # Boilerplate
       - name: Checkout repository
         uses: actions/checkout at v2
-      # 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 -n ::set-output name=id::
-          cat /proc/sys/kernel/random/uuid
-      # 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 v2
-        with:
-          path: ~/texlive
-          key: texlive-v0-${{ steps.get-id.outputs.id }}
-          restore-keys: texlive-v0-
       # We need docutils for our documentation
       - run: sudo apt-get install python3-docutils
       - name: Install TeX Live
-        uses: zauguin/install-texlive at v1
+        uses: zauguin/install-texlive at 0c87efffa145ce68b6c7baf65f639dab0c4bd3ba
         with:
           # The list of packages to install is in a separate file under .github/tl_packages
           # to allow reuse.
           package_file: .github/tl_packages
+          cache_version: 0
       - name: Run l3build
         run: ${{ matrix.l3build_cmd }}
       # Now we create the artifacts: There are two cases where this happens.





More information about the latex3-commits mailing list.