Skip to content

Commit ea61521

Browse files
committed
fix ci reusable workflow to checkout the correct rmg-py
1 parent c293c28 commit ea61521

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,16 @@ jobs:
6565
run:
6666
shell: bash -l {0}
6767
steps:
68-
- name: Checkout RMG-Py
68+
- name: Checkout RMG-Py - Resuable Workflow
69+
if: github.repository == 'ReactionMechanismGenerator/RMG-database'
6970
uses: actions/checkout@v3
7071
with:
7172
repository: ReactionMechanismGenerator/RMG-Py
7273

74+
- name: Clone RMG-Py - RMG-Py
75+
if: github.repository != 'ReactionMechanismGenerator/RMG-database'
76+
uses: actions/checkout@v3
77+
7378
# configures the mamba environment manager and builds the environment
7479
- name: Setup Mambaforge Python 3.7
7580
uses: conda-incubator/setup-miniconda@v2

0 commit comments

Comments
 (0)