File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2121 gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.SECRET_PASSPHRASE}}" \
2222 --output secret.gpg publish_key.gpg
2323 echo "::set-env name=RELEASE_VERSION::${GITHUB_REF:11}"
24+ echo "::set-env name=GITHUB_TOKEN::${{secrets.GITHUB_TOKEN}}"
25+
2426 - name : Publish with Gradle
2527 uses : eskatos/gradle-command-action@v1
2628 with :
Original file line number Diff line number Diff line change 11plugins {
2- id ' maven'
32 id ' java-library'
43 id ' maven-publish'
54 id ' signing'
@@ -63,6 +62,14 @@ publishing {
6362 }
6463 }
6564 }
65+ maven {
66+ name = " GitHubPackages"
67+ url = uri(" https://maven.pkg.github.com/eaxdev/JsonSQL4J" )
68+ credentials {
69+ username = project. findProperty(" gpr.user" ) ?: System . getenv(" eaxdev" )
70+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN" )
71+ }
72+ }
6673 }
6774}
6875
You can’t perform that action at this time.
0 commit comments