Publish android variants #14
Workflow file for this run
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
name: Release | |
on: | |
push: | |
tags: ['*'] | |
env: | |
GITHUB_TAG: ${{ github.ref }} | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/[email protected] | |
- | |
name: Configure Java | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: oracle | |
- | |
name: Tests | |
run: ./gradlew check | |
linux: | |
runs-on: ubuntu-latest | |
needs: [tests] | |
steps: | |
- | |
name: Checkout | |
uses: actions/[email protected] | |
- | |
name: Configure Java | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: oracle | |
- | |
name: Maven Publish | |
env: | |
GITHUB_TAG: ${{ github.ref }} | |
ORG_GRADLE_PROJECT_mavenUser: ${{ secrets.MAVEN_CENTRAL_USERNAME }} | |
ORG_GRADLE_PROJECT_mavenPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.PGP_INK_CI_KEYID }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_INK_CI_PRIVATE }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_INK_CI_PASSWORD }} | |
run: > | |
./gradlew | |
publishKotlinMultiplatformPublicationToMavenCentralRepository | |
publishLinuxX64PublicationToMavenCentralRepository | |
publishLinuxArm64PublicationToMavenCentralRepository | |
publishAndroidReleasePublicationToMavenCentralRepository | |
publishAndroidDebugPublicationToMavenCentralRepository | |
publishAndroidNativeArm32PublicationToMavenCentralRepository | |
publishAndroidNativeArm64PublicationToMavenCentralRepository | |
publishAndroidNativeX86PublicationToMavenCentralRepository | |
publishAndroidNativeX64PublicationToMavenCentralRepository | |
publishJsPublicationToMavenCentralRepository | |
publishJvmPublicationToMavenCentralRepository | |
publishMingwX64PublicationToMavenCentralRepository | |
-Pversion=${GITHUB_TAG/refs\/tags\//} | |
macos: | |
runs-on: macos-latest | |
needs: [tests] | |
steps: | |
- | |
name: Checkout | |
uses: actions/[email protected] | |
- | |
name: Configure Java | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: oracle | |
- | |
name: Maven Publish | |
env: | |
GITHUB_TAG: ${{ github.ref }} | |
ORG_GRADLE_PROJECT_mavenUser: ${{ secrets.MAVEN_CENTRAL_USERNAME }} | |
ORG_GRADLE_PROJECT_mavenPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.PGP_INK_CI_KEYID }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_INK_CI_PRIVATE }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_INK_CI_PASSWORD }} | |
run: > | |
./gradlew | |
publishMacosX64PublicationToMavenCentralRepository | |
publishMacosArm64PublicationToMavenCentralRepository | |
publishIosSimulatorArm64PublicationToMavenCentralRepository | |
publishIosX64PublicationToMavenCentralRepository | |
publishWatchosSimulatorArm64PublicationToMavenCentralRepository | |
publishWatchosX64PublicationToMavenCentralRepository | |
publishWatchosArm32PublicationToMavenCentralRepository | |
publishWatchosArm64PublicationToMavenCentralRepository | |
publishTvosSimulatorArm64PublicationToMavenCentralRepository | |
publishTvosX64PublicationToMavenCentralRepository | |
publishTvosArm64PublicationToMavenCentralRepository | |
publishIosArm64PublicationToMavenCentralRepository | |
publishWatchosDeviceArm64PublicationToMavenCentralRepository | |
-Pversion=${GITHUB_TAG/refs\/tags\//} |