Skip to content

Commit

Permalink
try publish to github packages
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM committed Dec 12, 2023
1 parent c21b913 commit fcd39ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build Package
uses: gradle/gradle-build-action@v2
with:
arguments: :overflow-core-all:shadowJar publishGithubPackagePublicationToGithubRepository
arguments: :overflow-core-all:shadowJar publishAllPublicationToGithubRepository
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
Expand Down
9 changes: 0 additions & 9 deletions buildSrc/src/main/kotlin/PublicationHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ fun Project.setupMavenCentralPublication(artifactsBlock: MavenPublication.() ->
artifactId = project.name
version = rootProject.version.toString()

artifactsBlock()
pom(mavenPom(artifactId))
}
create<MavenPublication>("githubPackage") {
from(components.getByName("kotlin"))
groupId = rootProject.group.toString()
artifactId = project.name
version = rootProject.version.toString()

artifactsBlock()
pom(mavenPom(artifactId))
}
Expand Down

0 comments on commit fcd39ad

Please sign in to comment.