Skip to content

Commit

Permalink
Finally fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Nov 12, 2019
1 parent 05f454b commit 90adf8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ task setupGithubActions() {
doLast {
exec {
commandLine "echo", "##[set-output name=version;]${project.version}";
}
exec {
commandLine "echo", "##[set-output name=commitlog;]" + "{\"content\":\"A new alpha is available!\",\"embed\":{\"author\":{\"name\":\"itsmeow\",\"url\":\"https://itsmeow.dev/\",\"icon_url\":\"https://itsmeow.dev/icon.png\"},\"title\":\"betteranimalsplus-alpha-${project.version}\",\"url\":\"https://github.com/itsmeow/betteranimalsplus/releases/tag/alpha-${project.version}\",\"color\":14700288,\"description\":\"" + log + "\"}}";
}
}
Expand Down

0 comments on commit 90adf8f

Please sign in to comment.