From 8e63ebe53c9c2005f7e735a37c55857572ad8622 Mon Sep 17 00:00:00 2001 From: Adam Kobus Date: Thu, 17 Feb 2022 23:29:22 +0100 Subject: [PATCH] Fixed release build --- .github/workflows/publish-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 6f3f581..f2b2db7 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -22,14 +22,14 @@ jobs: - name: Decrypt secrets run: scripts/decrypt-secrets.sh "${{ secrets.SECRETS_PASSPHRASE }}" - - name: Release project + - name: Build project run: ./gradlew clean :composenav:assembleRelease - name: Create source jar run: ./gradlew :composenav:androidSourcesJar - name: Publish to MavenCentral - run: ./gradlew :composenav:publishReleasePublicationToSonatypeRepository --max-workers 1 :composenav:closeAndReleaseSonatypeStagingRepository + run: ./gradlew :publishReleasePublicationToSonatypeRepository --max-workers 1 :closeAndReleaseSonatypeStagingRepository env: MAVEN_SNAPSHOT: false