Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ci: Cache with the OS name, not the job name.

Alex Vandiver2fc156e5568f
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml
index 512581274a4..8ff5d147e37 100644
--- a/.github/workflows/production-suite.yml
+++ b/.github/workflows/production-suite.yml
@@ -66,22 +66,22 @@ jobs:
uses: actions/cache@v2
with:
path: /srv/zulip-npm-cache
- key: v1-yarn-deps-${{ github.job }}-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}
- restore-keys: v1-yarn-deps-${{ github.job }}
+ key: v1-yarn-deps-buster-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}
+ restore-keys: v1-yarn-deps-buster
- name: Restore python cache
uses: actions/cache@v2
with:
path: /srv/zulip-venv-cache
- key: v1-venv-${{ github.job }}-${{ hashFiles('requirements/dev.txt') }}
- restore-keys: v1-venv-${{ github.job }}
+ key: v1-venv-buster-${{ hashFiles('requirements/dev.txt') }}
+ restore-keys: v1-venv-buster
- name: Restore emoji cache
uses: actions/cache@v2
with:
path: /srv/zulip-emoji-cache
- key: v1-emoji-${{ github.job }}-${{ hashFiles('tools/setup/emoji/emoji_map.json') }}-${{ hashFiles('tools/setup/emoji/build_emoji') }}-${{ hashFiles('tools/setup/emoji/emoji_setup_utils.py') }}-${{ hashFiles('tools/setup/emoji/emoji_names.py') }}-${{ hashFiles('package.json') }}
- restore-keys: v1-emoji-${{ github.job }}
+ key: v1-emoji-buster-${{ hashFiles('tools/setup/emoji/emoji_map.json') }}-${{ hashFiles('tools/setup/emoji/build_emoji') }}-${{ hashFiles('tools/setup/emoji/emoji_setup_utils.py') }}-${{ hashFiles('tools/setup/emoji/emoji_names.py') }}-${{ hashFiles('package.json') }}
+ restore-keys: v1-emoji-buster
- name: Build production tarball
run: ./tools/ci/production-build