Skip to content

Commit 3ae8908

Browse files
JacksonBurnsChrisBNEU
authored andcommitted
fix ci reusable workflow to checkout the correct rmg-py
1 parent b047265 commit 3ae8908

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ jobs:
5858
run:
5959
shell: bash -l {0}
6060
steps:
61-
- name: Checkout RMG-Py
61+
- name: Checkout RMG-Py - Resuable Workflow
62+
if: github.repository == 'ReactionMechanismGenerator/RMG-database'
63+
uses: actions/checkout@v3
64+
65+
- name: Clone RMG-Py - RMG-Py
66+
if: github.repository != 'ReactionMechanismGenerator/RMG-database'
6267
uses: actions/checkout@v3
6368

6469
# configures the mamba environment manager and builds the environment

0 commit comments

Comments
 (0)