aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2022-05-02 10:54:25 +0200
committerselsta <selsta@sent.at>2022-05-02 12:46:32 +0200
commit20c4516c8e919fdc1c0b62f9c8d2533d6409c62f (patch)
tree5b280744d6f04e72f305e274b1c04fe3ae4abd6e /.github
parent2e2ae5c88fdc159477e8bc9ad871a892da83e935 (diff)
downloadmonzero-gui-20c4516c8e919fdc1c0b62f9c8d2533d6409c62f.tar.gz
monzero-gui-20c4516c8e919fdc1c0b62f9c8d2533d6409c62f.tar.xz
monzero-gui-20c4516c8e919fdc1c0b62f9c8d2533d6409c62f.zip
workflows: add caching for docker android
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index af00f6b0..76a0b826 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -151,6 +151,13 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: recursive
+ - uses: satackey/action-docker-layer-caching@v0.0.11
+ if: "!startsWith(github.ref, 'refs/tags/v')"
+ continue-on-error: true
+ with:
+ key: docker-android-static-{hash}
+ restore-keys: |
+ docker-android-static-
- name: prepare build environment
run: docker build --tag monero:build-env-android --build-arg THREADS=3 --file Dockerfile.android .
- name: build