فهرست منبع

Follow cache action template

onevcat 6 سال پیش
والد
کامیت
b746086928
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      .github/workflows/build.yaml

+ 6 - 4
.github/workflows/build.yaml

@@ -14,11 +14,13 @@ jobs:
       - uses: actions/cache@v1
         with:
           path: vendor/bundle
-          key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
+          key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
           restore-keys: |
-            ${{ runner.os }}-gem-
-      - name: Install Gems
-        run: bundle config set path 'vendor/bundle' && bundle install
+            ${{ runner.os }}-gems-
+      - name: Bundle install
+        run: |
+          bundle config path vendor/bundle
+          bundle install --jobs 4 --retry 3
       - name: Run tests
         env:
           DESTINATION: platform=${{ matrix.destination }}