add cache debug commands to CI

This commit is contained in:
ted-cdw 2023-02-22 09:30:27 -05:00
parent 8b2b1048a6
commit 646cf24a70

View file

@ -79,7 +79,9 @@ jobs:
# Thanks https://evilmartians.com/chronicles/build-images-on-github-actions-with-docker-layer-caching # Thanks https://evilmartians.com/chronicles/build-images-on-github-actions-with-docker-layer-caching
- name: Only persist the new cache layers - name: Only persist the new cache layers
run: | run: |
echo "Showing ${CACHE_DIR}..."
ls ${CACHE_DIR} ls ${CACHE_DIR}
echo "Showing ${NEW_CACHE_DIR}..."
ls ${NEW_CACHE_DIR} ls ${NEW_CACHE_DIR}
rm -rf ${CACHE_DIR} rm -rf ${CACHE_DIR}
mv ${NEW_CACHE_DIR} ${CACHE_DIR} mv ${NEW_CACHE_DIR} ${CACHE_DIR}