Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +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
dcefd7c39e
Commit
038604e284
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"]
|
build_type: ["backend", "frontend"]
|
||||||
ruby: ["2.7"]
|
ruby: ["2.7"]
|
||||||
postgres: ["12"]
|
postgres: ["12"]
|
||||||
redis: ["4.x"]
|
redis: ["6.x"]
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
|
@ -49,10 +49,17 @@ jobs:
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
steps:
|
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
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: discourse/discourse
|
repository: discourse/discourse
|
||||||
ref: "${{ (github.base_ref || github.ref) }}"
|
ref: ${{ steps.discourse_branch.outputs.value }}
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Fetch Repo Name
|
- name: Fetch Repo Name
|
||||||
|
@ -63,6 +70,7 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: plugins/${{ steps.repo-name.outputs.value }}
|
path: plugins/${{ steps.repo-name.outputs.value }}
|
||||||
|
ref: "${{ github.base_ref }}"
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Check spec existence
|
- name: Check spec existence
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
# name: discourse-custom-wizard
|
# name: discourse-custom-wizard
|
||||||
# about: Create custom wizards
|
# about: Create custom wizards
|
||||||
# version: 1.18.0
|
# version: 1.18.1
|
||||||
# authors: Angus McLeod
|
# authors: Angus McLeod
|
||||||
# url: https://github.com/paviliondev/discourse-custom-wizard
|
# url: https://github.com/paviliondev/discourse-custom-wizard
|
||||||
# contact emails: angus@thepavilion.io
|
# contact emails: angus@thepavilion.io
|
||||||
|
|
Laden …
In neuem Issue referenzieren