run:./gradlew prepareVote $(echo $PROPS_RELEASE $PROPS_GIT $PROPS_NEXUS $PROPS_SIGNING $PROPS_GITHUB) -x test
- name:Add comment to PR
- name:Find Comment
if:steps.check.outputs.triggered == 'true'
env:
URL:${{ github.event.issue.comments_url }}
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
COMMENT_CONTENT:|
'{ "body": "This PR has been deployed as a snasphot version. Try it out using:\r\n````kotlin\r\nrepositories {\r\n maven {\r\n url = uri(\"https:\/\/oss.sonatype.org\/content\/repositories\/snapshots\/\")\r\n }\r\n}\r\n\r\nconfigurations.all {\r\n resolutionStrategy.cacheChangingModulesFor(0, \\\"seconds\\\")\r\n}\r\n\r\ndependencies {\r\n implementation(\"com.github.weisj:darklaf-core-${{ env.GITHUB_HEAD_REF }}:latest.integration\")\r\n}\r\n````" }'