Skip to content

Commit

Permalink
Moved to central repo
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Jul 22, 2024
1 parent a5bb9bf commit 77d2b43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ jobs:
build-root-directory: languages/java
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MVN_USERNAME: ${{ secrets.MVN_USERNAME }}
MVN_TOKEN: ${{ secrets.MVN_TOKEN }}
14 changes: 7 additions & 7 deletions languages/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ repositories {
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/infisical/sdk"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
maven {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("MVN_USERNAME")
password = System.getenv("MVN_TOKEN")
}
}
}
}
}
Expand Down

0 comments on commit 77d2b43

Please sign in to comment.