Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abla to skip saving cache on condition #130

Open
xepozz opened this issue Mar 23, 2021 · 1 comment
Open

Abla to skip saving cache on condition #130

xepozz opened this issue Mar 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@xepozz
Copy link

xepozz commented Mar 23, 2021

It will be useful when you don't want to lose time to save cache.

For example, I want to skip saving cache when previous action was failed.
I can specify if: condition as success() that means that cache should be saved when previous action was successful.

@xepozz xepozz added the enhancement New feature or request label Mar 23, 2021
@tkrugg
Copy link

tkrugg commented Jan 11, 2022

This is possible via skip-save.

      - uses: satackey/[email protected]
        continue-on-error: true
        with:
          skip-save: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants