We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f155742 commit aa2a07fCopy full SHA for aa2a07f
1 file changed
github-actionify.sh
@@ -107,11 +107,11 @@ process() {
107
die "Not pom-scijava parent: $parent. Run with -p flag to skip this check."
108
fi
109
110
- # Change pom.xml from Travis CI to GitHub Action
+ # Change pom.xml from Travis CI to GitHub Actions
111
domain="github.com"
112
- sed -i.bak 's/Travis CI/GitHub Actions/g' pom.xml
113
- sed -i.bak "s;travis-ci.*;github.com/$repoSlug/actions/workflows/.gitaction.yml</url>;g" pom.xml
114
- rm -f pom.xml.bak
+ sed 's/Travis CI/GitHub Actions/g' pom.xml >"$tmpFile"
+ sed "s;travis-ci.*;github.com/$repoSlug/actions/workflows/.gitaction.yml</url>;g" pom.xml >>"$tmpFile"
+ update pom.xml
115
116
# -- GitHub Action sanity checks --
117
0 commit comments