Skip to content

Updated depenencies;kotlin 2.0.0 #58

Updated depenencies;kotlin 2.0.0

Updated depenencies;kotlin 2.0.0 #58

name: "Publish snapshot"
on:
push:
branches:
- develop
jobs:
snapshot-build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Decrypt secrets
run: scripts/decrypt-secrets.sh "${{ secrets.SECRETS_PASSPHRASE }}"
- name: Build project
run: ./gradlew clean :composenav:assembleRelease
- name: Publish to MavenCentral
run: ./gradlew :composenav:publishReleasePublicationToSonatypeRepository
env:
MAVEN_SNAPSHOT: true
- name: Clean up secrets
if: always()
run: scripts/cleanup-secrets.sh