This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
388 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,69 @@ | ||
name: DEPLOY | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
env: | ||
FORCED_VERSION: ${{ github.ref }} | ||
BINTRAY_USER: ${{ secrets.BINTRAY_USER }} | ||
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }} | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPEUSERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPEPASSWORD }} | ||
FORCED_VERSION: ${{ github.ref }} | ||
BINTRAY_USER: ${{ secrets.BINTRAY_USER }} | ||
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }} | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPEUSERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPEPASSWORD }} | ||
|
||
jobs: | ||
publish-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: CALL gradlew.bat --no-daemon | ||
shell: cmd | ||
- run: CALL gradlew.bat --no-daemon assemble check publishMingwX64PublicationToMavenRepository | ||
shell: cmd | ||
env: | ||
DISABLE_JAVASCRIPT_TEST: true | ||
publish-mac: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: ./gradlew | ||
- run: ./gradlew assemble check publish -x publishKotlinMultiplatformPublicationToMavenRepository | ||
env: | ||
DISABLE_JAVASCRIPT_TEST: true | ||
publish-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: sudo apt-get install xvfb | ||
- run: xvfb-run --auto-servernum ./gradlew --no-daemon | ||
- run: xvfb-run --auto-servernum ./gradlew --no-daemon assemble check lint testDebugUnitTest publishKotlinMultiplatformPublicationToMavenRepository publishLinuxX64PublicationToMavenRepository publishLinuxArm64PublicationToMavenRepository publishLinuxArm32HfpPublicationToMavenRepository | ||
|
||
publish-finalize: | ||
needs: [publish-windows, publish-mac, publish-linux] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: ./gradlew releaseMavenCentral | ||
publish-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: > | ||
CALL gradlew.bat --no-daemon | ||
jvmTest | ||
publishMingwX64PublicationToMavenRepository | ||
shell: cmd | ||
env: | ||
DISABLE_JAVASCRIPT_TEST: true | ||
publish-mac: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: > | ||
./gradlew | ||
jvmTest | ||
publishMacosX64PublicationToMavenRepository | ||
publishMacosArm64PublicationToMavenRepository | ||
publishIosArm32PublicationToMavenRepository | ||
publishIosArm64PublicationToMavenRepository | ||
publishIosX64PublicationToMavenRepository | ||
publishIosSimulatorArm64PublicationToMavenRepository | ||
publishWatchosX86PublicationToMavenRepository | ||
publishWatchosArm32PublicationToMavenRepository | ||
publishWatchosArm64PublicationToMavenRepository | ||
publishWatchosSimulatorArm64PublicationToMavenRepository | ||
publishTvosX64PublicationToMavenRepository | ||
publishTvosArm64PublicationToMavenRepository | ||
publishTvosSimulatorArm64PublicationToMavenRepository | ||
env: | ||
DISABLE_JAVASCRIPT_TEST: true | ||
publish-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: sudo apt-get install xvfb | ||
- run: > | ||
xvfb-run --auto-servernum ./gradlew --no-daemon | ||
jvmTest | ||
publishKotlinMultiplatformPublicationToMavenRepository | ||
publishJvmPublicationToMavenRepository | ||
publishJsPublicationToMavenRepository | ||
publishAndroidPublicationToMavenRepository | ||
publishLinuxX64PublicationToMavenRepository | ||
publish-finalize: | ||
needs: [publish-windows, publish-mac, publish-linux] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: ./gradlew releaseMavenCentral |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.