Skip to content

Commit

Permalink
Add path to restore action too
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Apr 15, 2024
1 parent 8b77cc9 commit 6a4ce1d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 6a4ce1d

Please sign in to comment.