Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1name: 'Cache Restore'2description: 'Restore a cache with WarpBuild on Warp runners and GitHub Actions cache otherwise'3inputs:4path:5description: 'A list of files, directories, and wildcard patterns to restore'6required: true7key:8description: 'An explicit key for restoring the cache'9required: true10restore-keys:11description: 'An ordered multiline string listing prefix-matched restore keys'12required: false13default: ''14provider:15description: 'The cache provider to use'16required: true17outputs:18cache-hit:19description: 'A boolean value to indicate an exact match was found for the primary key'20value: ${{ steps.warp.outputs.cache-hit || steps.gha.outputs.cache-hit }}21cache-primary-key:22description: 'The primary key used to restore the cache'23value: ${{ steps.warp.outputs.cache-primary-key || steps.gha.outputs.cache-primary-key }}24runs:25using: 'composite'26steps:27- name: Restore cache with WarpBuild28id: warp29if: ${{ inputs.provider == 'warp' }}30uses: WarpBuilds/cache/restore@v131with:32path: ${{ inputs.path }}33key: ${{ inputs.key }}34restore-keys: ${{ inputs.restore-keys }}36- name: Restore cache with GitHub Actions37id: gha38if: ${{ inputs.provider == 'gha' }}39uses: actions/cache/restore@v540with:41path: ${{ inputs.path }}42key: ${{ inputs.key }}43restore-keys: ${{ inputs.restore-keys }}
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.