From ea61521a252bb584c3955c4ece34002e69702638 Mon Sep 17 00:00:00 2001 From: Jackson Burns Date: Fri, 28 Jul 2023 19:47:02 -0400 Subject: [PATCH] fix ci reusable workflow to checkout the correct rmg-py --- .github/workflows/CI.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a13e8070298..f07e42b1a22 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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