Skip to content

Commit

Permalink
Variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSalinas98 authored Aug 18, 2023
1 parent 2710d00 commit cd1ff34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
BRANCH_NAME: ${{ github.head_ref }}
run: |
git clone https://github.com/scipion-chem/$REPO_NAME.git
if [ $(git ls-remote --heads https://github.com/scipion-chem/scipion-chem.git $BRANCH_NAME | wc -l) -eq 1 ]; then
if [ $(git ls-remote --heads https://github.com/scipion-chem/$REPO_NAME.git $BRANCH_NAME | wc -l) -eq 1 ]; then
cd $REPO_NAME && git checkout $BRANCH_NAME
fi
scipion/scipion3 installp -p $REPO_NAME --devel
Expand All @@ -60,7 +60,7 @@ jobs:
BRANCH_NAME: ${{ github.head_ref }}
run: |
git clone https://github.com/scipion-chem/$REPO_NAME.git
if [ $(git ls-remote --heads https://github.com/scipion-chem/scipion-chem.git $BRANCH_NAME | wc -l) -eq 1 ]; then
if [ $(git ls-remote --heads https://github.com/scipion-chem/$REPO_NAME.git $BRANCH_NAME | wc -l) -eq 1 ]; then
cd $REPO_NAME && git checkout $BRANCH_NAME
fi
scipion/scipion3 installp -p $REPO_NAME --devel
Expand Down

0 comments on commit cd1ff34

Please sign in to comment.