mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 02:09:30 +00:00
DEV: Cache minio binaries cause downloading them is slow (#28956)
This commit is contained in:
parent
e60876ce49
commit
9a2e6fc890
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -44,6 +44,7 @@ jobs:
|
||||
DISCOURSE_TURBO_RSPEC_RETRY_AND_LOG_FLAKY_TESTS: ${{ (matrix.build_type == 'system' || matrix.build_type == 'backend') && github.ref == 'refs/heads/main' && '1' }}
|
||||
CHEAP_SOURCE_MAPS: "1"
|
||||
TESTEM_DEFAULT_BROWSER: Chrome
|
||||
MINIO_RUNNER_INSTALL_DIR: /home/discourse/.minio_runner
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -255,6 +256,13 @@ jobs:
|
||||
if: matrix.build_type == 'system'
|
||||
run: bin/ember-cli --build
|
||||
|
||||
- name: Minio cache
|
||||
if: matrix.build_type == 'system' && matrix.target == 'core'
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.MINIO_RUNNER_INSTALL_DIR }}
|
||||
key: ${{ runner.os }}-${{ steps.container-envs.outputs.ruby_version }}-${{ steps.container-envs.outputs.debian_release }}-gem-${{ hashFiles('**/Gemfile.lock') }}
|
||||
|
||||
- name: Ensure latest minio binary installed for Core System Tests
|
||||
if: matrix.build_type == 'system' && matrix.target == 'core'
|
||||
run: bundle exec ruby script/install_minio_binaries.rb
|
||||
|
Loading…
x
Reference in New Issue
Block a user