Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/plugin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
build_type: ["backend", "frontend"]
ruby: ["2.7"]
postgres: ["12"]
redis: ["4.x"]
redis: ["6.x"]

services:
postgres:
Expand All @@ -49,10 +49,17 @@ jobs:
--health-retries 5

steps:
- uses: haya14busa/action-cond@v1
id: discourse_branch
with:
cond: ${{ github.base_ref == 'stable' }}
if_true: "stable"
if_false: "tests-passed"

- uses: actions/checkout@v2
with:
repository: discourse/discourse
ref: "${{ (github.base_ref || github.ref) }}"
ref: ${{ steps.discourse_branch.outputs.value }}
fetch-depth: 1

- name: Fetch Repo Name
Expand All @@ -63,6 +70,7 @@ jobs:
uses: actions/checkout@v2
with:
path: plugins/${{ steps.repo-name.outputs.value }}
ref: "${{ github.base_ref }}"
fetch-depth: 1

- name: Check spec existence
Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# name: discourse-custom-wizard
# about: Create custom wizards
# version: 1.18.0
# version: 1.18.1
# authors: Angus McLeod
# url: https://github.com/paviliondev/discourse-custom-wizard
# contact emails: angus@thepavilion.io
Expand Down