]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci/windows: cache cargo artifacts
authorJason Ish <jason.ish@oisf.net>
Fri, 18 Nov 2022 20:46:15 +0000 (14:46 -0600)
committerVictor Julien <vjulien@oisf.net>
Tue, 22 Nov 2022 13:25:33 +0000 (14:25 +0100)
.github/workflows/builds.yml

index c3f9635bb795a5b2d9011c02bcfb6609e6861595..19013b1b7d206ba2ae27baed8c53d512223ce461 100644 (file)
@@ -1622,6 +1622,11 @@ jobs:
       run:
         shell: msys2 {0}
     steps:
+      - name: Cache ~/.cargo
+        uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
+        with:
+          path: ~/.cargo
+          key: ${{ github.job }}-cargo
       - uses: actions/checkout@v3.1.0
       - uses: msys2/setup-msys2@fa138fa56e2558760b9f2205135313c7345c5f3f
         with:
@@ -1673,6 +1678,11 @@ jobs:
       run:
         shell: msys2 {0}
     steps:
+      - name: Cache ~/.cargo
+        uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
+        with:
+          path: ~/.cargo
+          key: ${{ github.job }}-cargo
       - uses: actions/checkout@v3.1.0
       - uses: msys2/setup-msys2@v2
         with: