File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 ciOrg=${ciPrefix##*/ }
8686 if [ ${secure_env} != true ]; then
8787 echo " No deploy -- secure environment variables not available"
88- fi
89- if [ ${pull_request} != false ]; then
88+ elif [ ${pull_request} != false ]; then
9089 echo " No deploy -- pull request detected"
91- fi
92- if [ ${repo_fork} != " $ciOrg /$ciRepo " ]; then
90+ elif [ ${repo_fork} != " $ciOrg /$ciRepo " ]; then
9391 echo " No deploy -- repository fork: ${repo_fork} != $ciOrg /$ciRepo "
9492 else
9593 echo " All checks passed for artifact deployment"
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # travisify .sh
3+ # github-actionify .sh
44#
55# Script for enabling or updating GitHub Action builds for a given repository.
66
@@ -95,6 +95,7 @@ process() {
9595 # -- POM sanity checks --
9696
9797 parent=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="artifactId"]' pom.xml| sed ' s/[^>]*>//' | sed ' s/<.*//' )
98+ echo $parent # #########################################
9899 if [ -z " $SKIP_PARENT_CHECK " ]
99100 then
100101 test " $parent " = " pom-scijava" ||
@@ -103,6 +104,7 @@ process() {
103104
104105 # https://docs.github.com/en/actions/managing-workflow-runs/adding-a-workflow-status-badge
105106 domain=$( grep " travis-ci\.[a-z]*/$repoSlug " pom.xml 2> /dev/null | sed ' s/.*\(travis-ci\.[a-z]*\).*/\1/' )
107+ echo $domain # #################################################
106108 test " $domain " &&
107109 info " Detected domain from pom.xml: $domain " ||
108110 die " No valid ciManagement section in pom.xml. Please add one, then try again."
You can’t perform that action at this time.
0 commit comments