Skip to content

Commit

Permalink
try publish
Browse files Browse the repository at this point in the history
  • Loading branch information
yarinvak committed Jun 11, 2021
1 parent 7579ea3 commit 4f4e65b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- name: Publish with Gradle
run: ./gradlew publish
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import aQute.bnd.gradle.Bundle
buildscript {
repositories {
mavenCentral()
sonatype()
}
dependencies {
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:5.1.2'
Expand Down Expand Up @@ -42,6 +43,7 @@ release {

repositories {
mavenCentral()
sonatype()
}

gradle.projectsEvaluated {
Expand Down

0 comments on commit 4f4e65b

Please sign in to comment.