[latex3-commits] [git/LaTeX3-latex3-l3build] main: Avoid deprectated GitHub Actions features (37de419)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Nov 8 21:22:55 CET 2022
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/37de41942672a431a4c07c35bdb62cc6dae9317a
>---------------------------------------------------------------
commit 37de41942672a431a4c07c35bdb62cc6dae9317a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Nov 8 20:22:55 2022 +0000
Avoid deprectated GitHub Actions features
>---------------------------------------------------------------
37de41942672a431a4c07c35bdb62cc6dae9317a
.github/workflows/deploy.yaml | 5 ++---
.github/workflows/main.yaml | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index ac852ac..52fb1dd 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -21,8 +21,7 @@ jobs:
- name: Generate unique ID
id: get-id
run: |
- echo -n ::set-output name=id::
- cat /proc/sys/kernel/random/uuid
+ 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.
@@ -30,7 +29,7 @@ jobs:
# 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
+ uses: actions/cache at v3
with:
path: ~/texlive
key: texlive-v0-${{ steps.get-id.outputs.id }}
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 1e63f49..92a2fa0 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -19,8 +19,7 @@ jobs:
- name: Generate unique ID
id: get-id
run: |
- echo -n ::set-output name=id::
- cat /proc/sys/kernel/random/uuid
+ 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.
@@ -28,7 +27,7 @@ jobs:
# 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
+ uses: actions/cache at v3
with:
path: ~/texlive
key: texlive-v0-${{ steps.get-id.outputs.id }}
More information about the latex3-commits
mailing list.