Skip to content

fix(deps): update dependency androidx.test.ext:junit to v1.2.1 #374

fix(deps): update dependency androidx.test.ext:junit to v1.2.1

fix(deps): update dependency androidx.test.ext:junit to v1.2.1 #374

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/[email protected]
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