Skip to content

Commit

Permalink
edit publish ci/cd config
Browse files Browse the repository at this point in the history
  • Loading branch information
SuLG-ik committed Jun 21, 2024
1 parent 9f2dc44 commit f6ed911
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
types: [ prereleased, released ]

env:
sonatypeUsername: ${{ secrets.SONATYPEUSERNAME }}
sonatypePassword: ${{ secrets.SONATYPEPASSWORD }}
signingKey: ${{ secrets.SIGNING_KEY }}
signingPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPEUSERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPEPASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}

jobs:
build:
Expand All @@ -24,10 +24,10 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish YandexMapKitKMP
run: ./gradlew :yandex-mapkit-kmp:publish
run: ./gradlew :yandex-mapkit-kmp:publishAndReleaseToMavenCentral --no-configuration-cache
- name: Publish YandexMapKitKMPCompose
run: ./gradlew :yandex-mapkit-kmp-compose:publish
run: ./gradlew :yandex-mapkit-kmp-compose:publishAndReleaseToMavenCentral --no-configuration-cache
- name: Publish YandexMapKitKMPMOKO
run: ./gradlew :yandex-mapkit-kmp-moko:publish
run: ./gradlew :yandex-mapkit-kmp-moko:publishAndReleaseToMavenCentral --no-configuration-cache
- name: Publish YandexMapKitKMPMOKOCompose
run: ./gradlew :yandex-mapkit-kmp-moko-compose:publish
run: ./gradlew :yandex-mapkit-kmp-moko-compose:publishAndReleaseToMavenCentral --no-configuration-cache

0 comments on commit f6ed911

Please sign in to comment.