Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 22:02:53 +01:00
FIX: checkout correct branches of plugin and discourse (#182)
* FIX: checkout correct branches of plugin and discourse * add condition to check correct discourse branch * FIX: use updated redis version * bump patch version
Dieser Commit ist enthalten in:
Ursprung
c6ec744b13
Commit
9e76acbd66
2 geänderte Dateien mit 11 neuen und 3 gelöschten Zeilen
12
.github/workflows/plugin-tests.yml
gevendort
12
.github/workflows/plugin-tests.yml
gevendort
|
@ -31,7 +31,7 @@ jobs:
|
|||
build_type: ["backend", "frontend"]
|
||||
ruby: ["2.7"]
|
||||
postgres: ["12"]
|
||||
redis: ["4.x"]
|
||||
redis: ["6.x"]
|
||||
|
||||
services:
|
||||
postgres:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
# name: discourse-custom-wizard
|
||||
# about: Create custom wizards
|
||||
# version: 1.18.1.stable
|
||||
# version: 1.18.2.stable
|
||||
# authors: Angus McLeod
|
||||
# url: https://github.com/paviliondev/discourse-custom-wizard
|
||||
# contact emails: angus@thepavilion.io
|
||||
|
|
Laden …
In neuem Issue referenzieren