cache
cache copied to clipboard
Add PowerShell to examples.md
This PR adds PowerShell to the examples.md and includes all appropriate directories for each OS.
Working example can be seen here: https://github.com/potatoqualitee/tentools/runs/1222924184?check_suite_focus=true
@potatoqualitee Can you please resolve the conflicts here?
@potatoqualitee Can you kindly look at Josh's comment? Thanks
Hello I am on vacation and will set this to unread and address when I get back next week ππΌππΌ
@potatoqualitee Friendly ping.
thanks so much for the friendly ping, i will mark this notification as unread and return momentarily π
@LaurentDardenne contributed an incredible PR to my potatoqualitee/psmodulecache cacher and may have the solution for this. I'll take a look at their solution and report back.
After some review, it seems too complex to make as an example. Anyone who wants to cache PowerShell files should use https://github.com/marketplace/actions/powershell-module-cache π
Thank you all for your time and effort.
@joshmgross
Could we add a comment to make it clear that the cache key here should match the modules listed
Hello, the v5.0 documentation details the construction of the key. The key is changed and will generate a new cache:
- if we add a new module name or remove one from the list,
- if an automatic update is requested and a new version exists.
The current documentation. The documentation of the next evolution.
I didn't state how 'actions/cache' works.
Thanks @LaurentDardenne, I think this works better as a separate action than an example for actions/cache
.