Merge pull request #3908

20c4516 workflows: add caching for docker android (selsta)
This commit is contained in:
luigi1111 2022-06-09 13:56:46 -05:00
commit 38a63ddcdb
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

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