mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-05 04:15:58 +00:00
Try dry-run of gradlew
This commit is contained in:
@@ -139,15 +139,15 @@ jobs:
|
||||
run: echo "ARTIFACT_VERSION=${VERSION:1}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Publish AAR
|
||||
if: ${{ env.DRY_RUN == 'false' }}
|
||||
# TODO: can we do some kind of dry run?
|
||||
working-directory: embedded/android
|
||||
env:
|
||||
EC_VERSION: ${{ env.ARTIFACT_VERSION }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_RELEASE_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_RELEASE_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }}
|
||||
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}
|
||||
run: embedded/android/publish_android_package.sh -s
|
||||
run: ./gradlew publishAndReleaseToMavenCentral --no-daemon ${{ env.DRY_RUN == 'true' && '--dry-run' || '' }}
|
||||
|
||||
|
||||
- name: Add release note
|
||||
if: ${{ env.DRY_RUN == 'false' }}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script is used for local build and testing of the AAR packaging
|
||||
# In CI we call gradlew directly
|
||||
|
||||
EC_ASSETS_FOLDER=lib/src/main/assets/element-call
|
||||
CURRENT_DIR=$( dirname -- "${BASH_SOURCE[0]}" )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user