Closed ValentinLevitov closed 1 year ago
Hello, @ValentinLevitov
Thank you for the report. I will solve the issue when I will have time.
Hello, @ValentinLevitov
The feature in https://github.com/Wandalen/wretry.action/pull/99. I will notice when the feature will be published.
Hello, @ValentinLevitov
The new version is released. Please, try it and give me a feedback.
@dmvict Any docs on how to use the action with subdirectories?
@tho93 Use the feature similar to @ValentinLevitov code sample:
- name: Restore Cache
uses: Wandalen/wretry.action@master
id: restore
with:
action: actions/cache/restore@v3
with: |
path: |
node_modules.tar.zst
yarn.tar.gz
key: dependencies-cache-${{ hashFiles('**/yarn.lock') }}
attempt_limit: 3
attempt_delay: 60000
I mean that you need to extend action path from author/repo@tag
to autor/repo/subdirectory@tag
.
Please, notice that local actions are unsupported.
At present action subdirectories are not supported. For example, there is action https://github.com/actions/cache. And there is an example of actions/cache/restore usage:
It works well until I wrap it around with Wandalen/wretry.action:
This run gives me an error
So, it tries to clone repo actions/cache/restore which is absent. There is repo actions/cache with subdirectory 'restore'