Skip to content

Commit

Permalink
fix ci reusable workflow to checkout the correct rmg-py
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns committed Jul 28, 2023
1 parent c293c28 commit ea61521
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,16 @@ jobs:
run:
shell: bash -l {0}
steps:
- name: Checkout RMG-Py
- name: Checkout RMG-Py - Resuable Workflow
if: github.repository == 'ReactionMechanismGenerator/RMG-database'
uses: actions/checkout@v3
with:
repository: ReactionMechanismGenerator/RMG-Py

- name: Clone RMG-Py - RMG-Py
if: github.repository != 'ReactionMechanismGenerator/RMG-database'
uses: actions/checkout@v3

# configures the mamba environment manager and builds the environment
- name: Setup Mambaforge Python 3.7
uses: conda-incubator/setup-miniconda@v2
Expand Down

0 comments on commit ea61521

Please sign in to comment.