Skip to content

Commit

Permalink
Added missing configs to upload to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
extmkv committed Sep 10, 2024
1 parent 5ca5546 commit 331cee3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
- name: Publish Library
run: |
echo "Publishing library🚀"
./gradlew :mvi-compose:publish --no-daemon --no-parallel
./gradlew :mvi-compose:publishAndReleaseToMavenCentral --no-configuration-cache
echo "Published✅"
echo "Releasing repository...🚀"
./gradlew closeAndReleaseRepository
echo "Released✅"
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_kotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
- name: Publish Library
run: |
echo "Publishing library🚀"
./gradlew :mvi-kotest:publish --no-daemon --no-parallel
./gradlew :mvi-kotest:publishAndReleaseToMavenCentral --no-configuration-cache
echo "Published✅"
echo "Releasing repository...🚀"
./gradlew closeAndReleaseRepository
echo "Released✅"
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_mvi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
- name: Publish Library
run: |
echo "Publishing library🚀"
./gradlew :mvi:publish --no-daemon --no-parallel
./gradlew :mvi:publishAndReleaseToMavenCentral --no-configuration-cache
echo "Published✅"
echo "Releasing repository...🚀"
./gradlew closeAndReleaseRepository
echo "Released✅"
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ plugins {
alias(libs.plugins.mavenPublish)
}

configure(subprojects) {

allprojects {
pluginManager.withPlugin("com.vanniktech.maven.publish") {
mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
signAllPublications()
}
}
Expand Down

0 comments on commit 331cee3

Please sign in to comment.