Skip to content

Commit

Permalink
Merge the fix the name of the publish to maven central targets in Git…
Browse files Browse the repository at this point in the history
…Hub Actions.
  • Loading branch information
rhdunn committed May 24, 2023
2 parents e0c3964 + 7cfdef3 commit 4c04951
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ jobs:

- name: Publish Kotlin/JS to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D nodejs.download=false -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} publishJsPublicationToMavenCentral
run: gradle --stacktrace -D nodejs.download=false -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} publishJsPublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-jvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:

- name: Publish Kotlin/JVM to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D jvm.target=${{ matrix.java }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} publishJvm${{ matrix.java }}PublicationToMavenCentral
run: gradle --stacktrace -D jvm.target=${{ matrix.java }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} publishJvm${{ matrix.java }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:

- name: Publish Kotlin/Multiplatform to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} publishKotlinMultiplatformPublicationToMavenCentral
run: gradle --stacktrace -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} publishKotlinMultiplatformPublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
2 changes: 1 addition & 1 deletion .github/workflows/build-native-watchos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ jobs:

- name: Publish Kotlin/Native to Maven Central
if: env.OSSRH_USERNAME && env.MAVEN_CENTRAL_REPOSITORY != 'none'
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentral
run: gradle --stacktrace -D konan.target=${{ matrix.konan-target }} -D maven.sign=env -D maven.repository.sonatype=${{ env.MAVEN_CENTRAL_REPOSITORY }} ${{ matrix.publish-action }}PublicationToMavenCentralRepository
4 changes: 2 additions & 2 deletions docs/build/Build Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ The `maven.repository.sonatype` build property configures publishing artifacts
to Maven Central.

This can be one of the following values:
1. `release` -- Configure the `publishToMavenCentral` targets to use the
1. `release` -- Configure the `publish[Target]PublicationToMavenCentralRepository` targets to use the
sonatype release URLs.
2. `snapshot` -- Configure the `publishToMavenCentral` targets to use the
2. `snapshot` -- Configure the `publish[Target]PublicationToMavenCentralRepository` targets to use the
sonatype snapshot URLs.
3. `none` -- Don't publish the artifacts to Maven Central.

Expand Down

0 comments on commit 4c04951

Please sign in to comment.