-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1081 from alvasw/ci_cache_downloaded_binaries
GitHub Actions: Cache downloaded binaries
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,28 @@ jobs: | |
java-version: '17' | ||
distribution: 'zulu' | ||
|
||
- name: Cache Tor binary | ||
uses: actions/[email protected] | ||
env: | ||
cache-name: cache-tor-binary | ||
with: | ||
path: | | ||
network/tor/build/tor_binary | ||
network/tor/build/generated/src/main/resources/tor.zip | ||
network/tor-local-network/build/tor_binary | ||
network/tor-local-network/build/generated/src/main/resources/tor.zip | ||
key: ${{ matrix.os }}-build-${{ env.cache-name }}-${{ hashFiles('network/tor/build.gradle') }} | ||
|
||
- name: Cache Electrum binary | ||
uses: actions/[email protected] | ||
env: | ||
cache-name: cache-electrum-binary | ||
with: | ||
path: | | ||
wallets/electrum/build/electrum_binaries | ||
wallets/electrum/build/generated/src/main/resources/electrum-binaries.zip | ||
key: ${{ matrix.os }}-build-${{ env.cache-name }}-${{ hashFiles('wallets/electrum/build.gradle') }} | ||
|
||
- name: Gradle Build Action (root) | ||
uses: gradle/[email protected] | ||
with: | ||
|