summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-10-09 15:50:05 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-10-09 15:50:05 -0600
commit2f500a848130af2ec39a624834df709d67966c12 (patch)
tree3945a769c585c3f49f57cc839abadff389798afc /.github
parentbfd2adf882aad1c59999c3d174463a2a51e11715 (diff)
don't use cached dependencies when building on Windows in CI workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eae7b720..f5da6b5f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -85,11 +85,10 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- #bundler: ${{ matrix.os == 'windows-latest' && matrix.ruby == '3.0' && '2.3' || 'default' }}
- bundler-cache: ${{ github.event_name != 'schedule' }}
- #cache-version: 1
+ bundler: ${{ matrix.os == 'windows-latest' && matrix.ruby == '3.0' && '2.3' || 'default' }}
+ bundler-cache: ${{ matrix.os != 'windows-latest' && github.event_name != 'schedule' }}
- name: Install dependencies (scheduled build only)
- if: github.event_name == 'schedule'
+ if: matrix.os == 'windows-latest' || github.event_name == 'schedule'
run: |
bundle config --local path vendor/bundle
bundle --jobs 3 --retry 3