Skip to content

Commit

Permalink
#114 The GitHub workflow now caches downloaded Solr versions within a…
Browse files Browse the repository at this point in the history
… "downloads" folder
  • Loading branch information
extracts committed Nov 2, 2023
1 parent 9db52ac commit 3952fcf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,8 @@ jobs:
id: cache-solr
uses: actions/cache@v3
with:
path: solr-${{ matrix.versions.solr }}.tgz
key: solr-${{ matrix.versions.solr }}.tgz

- name: Download Solr ${{ matrix.versions.solr }}
if: steps.cache-solr.outputs.cache-hit != 'true'
run: sudo bash bin/download_solr_docker.sh --version ${{ matrix.versions.solr }}
path: downloads
key: solr-${{ matrix.versions.solr }}

- name: Install Solr ${{ matrix.versions.solr }}
run: sudo bash bin/install_solr_docker.sh --version ${{ matrix.versions.solr }}
Expand Down

0 comments on commit 3952fcf

Please sign in to comment.