File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,13 @@ get_xetabase_branch() {
1010
1111 # If the branch begins with 'TASK' and exists in the opencga-enterprise repository, I return it
1212 if [[ $current_branch == TASK* ]]; then
13- if [ " $( git ls-remote " https://$ZETTA_REPO_ACCESS_TOKEN @github.com/zetta-genomics/opencga-enterprise.git" " $current_branch " ) " ] ; then
13+ REPO_URI=
14+ if [ -z " $ZETTA_REPO_ACCESS_TOKEN " ]; then
15+ REPO_URI=" git@github.com:zetta-genomics/opencga-enterprise.git"
16+ else
17+ REPO_URI=" https://$ZETTA_REPO_ACCESS_TOKEN @github.com/zetta-genomics/opencga-enterprise.git"
18+ fi
19+ if [ " $( git ls-remote " $REPO_URI " " $current_branch " ) " ] ; then
1420 echo " $current_branch " ;
1521 return 0;
1622 fi
Original file line number Diff line number Diff line change @@ -109,9 +109,14 @@ jobs:
109109 if-no-files-found : error
110110 - name : Upload log
111111 uses : actions/upload-artifact@v4
112+ # # Skip cancelled()
113+ # # https://docs.github.com/en/actions/learn-github-actions/expressions#cancelled
114+ if : success() || failure()
112115 with :
113116 name : build-log
114- path : ./opencga-enterprise/build.log
117+ path : |
118+ ./opencga-enterprise/build.log
119+ ./opencga-enterprise/*.log.gz
115120 if-no-files-found : error
116121 - name : Log summary
117122 run : |
You can’t perform that action at this time.
0 commit comments