CI: deal with .pkg-cache issue

This commit is contained in:
Jesse Chan
2021-02-06 13:33:20 +08:00
parent 86deee679d
commit 67dcb821b7

View File

@@ -50,7 +50,8 @@ jobs:
- name: Package .deb
run: |
bazel build flood-deb-arm64 flood-deb-x64
mkdir ~/.pkg-cache
bazel build flood-deb-arm64 flood-deb-x64 --sandbox_writable_path=`printf ~/.pkg-cache`
cp -L bazel-bin/flood-deb-arm64.deb flood-linux-arm64.deb
cp -L bazel-bin/flood-deb-x64.deb flood-linux-x64.deb