Skip to content

fix(deps): update kotlin, ksp and compose compiler to v1.8.1 #345

fix(deps): update kotlin, ksp and compose compiler to v1.8.1

fix(deps): update kotlin, ksp and compose compiler to v1.8.1 #345

name: Publish Snapshot builds
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
name: Snapshot build and publish
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
distribution: 'zulu'
java-version: 17
- name: Grant Permission to Execute Gradle
run: chmod +x gradlew
- name: Release build
run: ./gradlew assembleRelease --scan -x :baselineprofile:pixel6api31Setup -x :baselineprofile:pixel6api31NonMinifiedReleaseAndroidTest -x :baselineprofile:collectNonMinifiedReleaseBaselineProfile
- name: Publish to MavenCentral
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
SNAPSHOT: true