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.

github-actions: Fix incorrect hash key in production install job.

Priyank Patel9504d403b3a7
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml
index 0ab50e26322..1cf14c81409 100644
--- a/.github/workflows/production-suite.yml
+++ b/.github/workflows/production-suite.yml
@@ -152,7 +152,7 @@ jobs:
uses: actions/cache@v2
with:
path: /srv/zulip-npm-cache
- key: v1-yarn-deps-${{ matrix.os }}-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}
+ key: v1-yarn-deps-${{ matrix.os }}-${{ hashFiles('/tmp/package.json') }}-${{ hashFiles('/tmp/yarn.lock') }}
restore-keys: v1-yarn-deps-${{ matrix.os }}
- name: Do Bionic hack
diff --git a/tools/ci/production-build b/tools/ci/production-build
index 8363b643eb7..72323e5a7c6 100755
--- a/tools/ci/production-build
+++ b/tools/ci/production-build
@@ -38,5 +38,6 @@ cp -a \
tools/ci/production-verify \
tools/ci/production-upgrade-pg \
tools/ci/production-extract-tarball \
+ package.json yarn.lock \
\
/tmp/production-build