How do I cache steps in GitHub actions?

后端 未结 6 1936
野趣味
野趣味 2021-01-30 10:54

Say I have a GitHub actions workflow with 2 steps.

  1. Download and compile my application\'s dependencies.
  2. Compile and test my application

My

6条回答
  •  没有蜡笔的小新
    2021-01-30 11:18

    This is now natively supported using: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows.

    This is achieved by using the new cache action: https://github.com/actions/cache

提交回复
热议问题