[latex3-commits] [git/LaTeX3-latex3-luaotfload] actions_experiment: Experiment with Actions (c916481)
Marcel Fabian Krüger
tex at 2krueger.de
Mon Nov 28 20:58:33 CET 2022
Repository : https://github.com/latex3/luaotfload
On branch : actions_experiment
Link : https://github.com/latex3/luaotfload/commit/c91648166d5a717ad4cd0adccba443a06cd3b623
>---------------------------------------------------------------
commit c91648166d5a717ad4cd0adccba443a06cd3b623
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon Nov 28 20:58:33 2022 +0100
Experiment with Actions
>---------------------------------------------------------------
c91648166d5a717ad4cd0adccba443a06cd3b623
.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..20f8045 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 e0a75dd11615c3123eec16caf9cefd039cde19ff
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..2ba4e71 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 e0a75dd11615c3123eec16caf9cefd039cde19ff
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.