]> git.puffer.fish Git - matthieu/nova.git/commitdiff
Update config.yml
authorMatthieu <20992787+MatthieuCoder@users.noreply.github.com>
Sun, 26 Sep 2021 16:47:05 +0000 (20:47 +0400)
committerGitHub <noreply@github.com>
Sun, 26 Sep 2021 16:47:05 +0000 (20:47 +0400)
.circleci/config.yml

index 754da9131091e1069951757c639a4f31141b7c9c..5539cceda3575ca9f4d6a42ccca7ab0f12da5d81 100644 (file)
@@ -23,11 +23,23 @@ jobs:
     steps:
       - checkout
       - setup-bazel
+      - restore_cache:
+          keys:
+            - bazel-cache-{{ .Branch }}
       - run:
           name: "Build"
           command: "bazel build //:packages"
+      - save_cache:
+          paths:
+            - ~/.cache/bazel
+          key: bazel-cache-{{ .Branch }}
+      - run:
+          name: "Move artifacts"
+          command: |
+            mkdir ~/project/artifacts
+            mv ~/project/bazel-bin/packages* ~/project/artifacts
       - store_artifacts:
-          path: ~/project/bazel-bin/packages*
+          path: ~/project/artifacts
 
 workflows:
   build-workflow: