Skip to content

Commit

Permalink
GitHub Actions: Cache Tor binary
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Aug 2, 2023
1 parent 565f7a3 commit a646f78
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ 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: Gradle Build Action (root)
uses: gradle/[email protected]
with:
Expand Down

0 comments on commit a646f78

Please sign in to comment.