question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to store cache after some special step and then continue workflow ?

See original GitHub issue

I have a job with the steps like:

job:
  steps:
    - checkout
    - actions/cache@v2
    - build
    #- I'd like to store cache at this moment 
    - test

Is there a way to store cache after some special step and then continue workflow ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:15
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
wmertenscommented, Jul 9, 2021

Same. Use case: install pnpm modules and then immediately store cache, before running the actual job which might fail

1reaction
steven-johnsoncommented, Oct 20, 2022

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workflow caching and checkpointing
Nextflow caching and checkpointing allows re-entrancy into a workflow after a pipeline error or using new data, skipping steps that have been successfully ......
Read more >
Just take the Cache and Run! Caching in 2018.3
Right click on this tool and select Cache and Run Workflow. This will re-run your workflow, so you can use this opportunity to...
Read more >
Config best practices: dependency caching
Caching your dependencies between jobs can trim seconds or even minutes from your builds.
Read more >
Caching dependencies to speed up workflows
To make your workflows faster and more efficient, you can create and use caches for dependencies and other commonly reused files.
Read more >
How do I cache steps in GitHub actions?
You could add a cache step at the beginning of your workflow, then a step to build the contents of the directory if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found