[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Simply GH Actions workflows (7549fb3)
Marcel Fabian Krüger
tex at 2krueger.de
Mon Nov 28 21:48:07 CET 2022
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/7549fb3aa6786fee77ee40a965d85540dee77555
>---------------------------------------------------------------
commit 7549fb3aa6786fee77ee40a965d85540dee77555
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon Nov 28 20:58:33 2022 +0100
Simply GH Actions workflows
>---------------------------------------------------------------
7549fb3aa6786fee77ee40a965d85540dee77555
.github/workflows/deploy.yaml | 26 +++-----------------------
.github/workflows/main.yaml | 25 +++----------------------
2 files changed, 6 insertions(+), 45 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index b1d5ed0..46a02a9 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -13,34 +13,14 @@ jobs:
steps:
# 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
+ uses: actions/checkout at v3
- run: sudo apt-get install python3-docutils
- name: Install TeX Live
- uses: zauguin/install-texlive at v1
+ uses: zauguin/install-texlive at v2
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..4400602 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -38,35 +38,16 @@ jobs:
steps:
# 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-
+ uses: actions/checkout at v3
# 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 v2
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.