mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix the order of operations in themes-frontend (#27317)
Previously "themes frontend" CI job would: 1. pull compatible versions of themes that happened to be in the base image 2. clone all official themes (overriding the compatible versions from 1.) 3. run tests
This commit is contained in:
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -147,12 +147,8 @@ jobs:
|
||||
key: ${{ runner.os }}-plugin-gems-${{ steps.container-envs.outputs.ruby_version }}-${{ steps.container-envs.outputs.debian_release }}-${{ hashFiles('plugins/*/plugin.rb') }}
|
||||
|
||||
- name: Checkout official themes
|
||||
if: matrix.target == 'themes' && matrix.build_type == 'system'
|
||||
run: bin/rake themes:clone_all_official
|
||||
|
||||
- name: Pull compatible versions of themes
|
||||
if: matrix.target == 'themes'
|
||||
run: bin/rake themes:pull_compatible_all
|
||||
run: bin/rake themes:clone_all_official themes:pull_compatible_all
|
||||
|
||||
- name: Add hosts to /etc/hosts, otherwise Chromium cannot reach minio
|
||||
if: matrix.build_type == 'system' && matrix.target == 'core'
|
||||
|
||||
Reference in New Issue
Block a user