workflows: add caching for docker android

This commit is contained in:
selsta 2022-05-02 10:54:25 +02:00
parent 2e2ae5c88f
commit 20c4516c8e
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -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