Skip to content

Commit

Permalink
action debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
danholdaway committed Jun 4, 2024
1 parent 4d7c1cc commit f821bfe
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/run_jcb_basic_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,14 @@ jobs:
cd jcb_repo
pip install pyyaml
./jcb_client_init.py
echo "JCB_APP_REPO: $JCB_APP_REPO"
echo "Currect directory: $(pwd)"
python jcb_client_path.py $JCB_APP_REPO
app_path=$(python jcb_client_path.py $JCB_APP_REPO)
echo "Application path : $app_path"
cd $app_path
git checkout ${{ env.JCB_APP_BRANCH }}
# If all the branches are found then at this point everything should be good.
# If not then the apps branch needs to be checked out explicitly.
if [ "${{ env.JCB_BRANCH }}" != "${{ env.JCB_APP_BRANCH }}" ]; then
echo "Checking out branch ${{ env.JCB_APP_BRANCH }} for ${{ env.JCB_APP_REPO }}"
app_path=$(python jcb_client_path.py $JCB_APP_REPO)
cd $app_path
git checkout ${{ env.JCB_APP_BRANCH }}
fi
- name: Install dependencies
run: |
Expand Down

0 comments on commit f821bfe

Please sign in to comment.