ci: also save ccache cache for failed builds

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
(cherry picked from commit 935a2e9530)
This commit is contained in:
Jared Van Bortel 2024-09-04 17:53:53 -04:00
parent be6bc617a0
commit 00dbc27097

View File

@ -94,6 +94,7 @@ jobs:
cp gpt4all-installer-* upload cp gpt4all-installer-* upload
- save_cache: - save_cache:
key: ccache-gpt4all-macos-{{ epoch }} key: ccache-gpt4all-macos-{{ epoch }}
when: always
paths: paths:
- ../.ccache - ../.ccache
# persist the unsigned installer # persist the unsigned installer
@ -371,6 +372,7 @@ jobs:
cp gpt4all-installer-* upload cp gpt4all-installer-* upload
- save_cache: - save_cache:
key: ccache-gpt4all-linux-amd64- key: ccache-gpt4all-linux-amd64-
when: always
paths: paths:
- ../.ccache - ../.ccache
- store_artifacts: - store_artifacts:
@ -529,6 +531,7 @@ jobs:
copy gpt4all-installer-win64.exe upload copy gpt4all-installer-win64.exe upload
- save_cache: - save_cache:
key: ccache-gpt4all-win-amd64-{{ epoch }} key: ccache-gpt4all-win-amd64-{{ epoch }}
when: always
paths: paths:
- ..\.ccache - ..\.ccache
- store_artifacts: - store_artifacts: