From 6a4ce1de494d5ee89ec69bec31d3cd0ae6eb337d Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Mon, 15 Apr 2024 13:01:00 +0200 Subject: [PATCH] Add path to restore action too --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index e02f6409..d7d97370 100644 --- a/action.yml +++ b/action.yml @@ -61,10 +61,13 @@ runs: ~/.cache/alire ~/.config/alire ./alire_install + ~/AppData/Local/alire key: ${{steps.cache-key.outputs.key}} # .cache contains msys64 install on Windows # .config contains the toolchain at the default location, besides index config # ./alire_install contains alr itself + # ~/AppData is used with Alire 2.0 onwards + # Note that '~' is recommended on Windows too: https://github.com/actions/cache - name: Check cache output shell: bash @@ -175,6 +178,5 @@ runs: ./alire_install ~/AppData/Local/alire key: ${{ steps.cache-alr.outputs.cache-primary-key }} - # Note that '~' is recommended on Windows too: - # https://github.com/actions/cache + # Note that '~' is recommended on Windows too: https://github.com/actions/cache