From 89a605df0b2f24b68742ff907cbbd5744e9fcfe5 Mon Sep 17 00:00:00 2001 From: Volodymyr Shyrochuk Date: Thu, 24 Oct 2024 20:20:53 +0300 Subject: [PATCH] Attempt to update release --- .github/workflows/release.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa9e3111..b448cb47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,23 +38,23 @@ jobs: - name: Build with Gradle run: ./gradlew livekit-android-sdk:assembleRelease livekit-android-camerax:assembleRelease livekit-android-test:testRelease - - name: Create gpg key and import into gradle properties - run: | - echo $GPG_KEY_ARMOR | base64 --decode > ./release.asc - gpg --quiet --output $GITHUB_WORKSPACE/release.gpg --dearmor ./release.asc - sed -i -e "s,nexusUsername=,nexusUsername=$NEXUS_USERNAME,g" gradle.properties - sed -i -e "s,nexusPassword=,nexusPassword=$NEXUS_PASSWORD,g" gradle.properties - sed -i -e "s,signing.keyId=,signing.keyId=$GPG_KEY_ID,g" gradle.properties - sed -i -e "s,signing.password=,signing.password=$GPG_PASSWORD,g" gradle.properties - sed -i -e "s,signing.secretKeyRingFile=,signing.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg,g" gradle.properties - sed -i -e "s,STAGING_PROFILE_ID=,STAGING_PROFILE_ID=$PROFILE_ID,g" gradle.properties - env: - GPG_KEY_ARMOR: "${{ secrets.SIGNING_KEY_ARMOR }}" - GPG_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} - GPG_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} - NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} - NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} - PROFILE_ID: ${{ secrets.STAGING_PROFILE_ID }} +# - name: Create gpg key and import into gradle properties +# run: | +# echo $GPG_KEY_ARMOR | base64 --decode > ./release.asc +# gpg --quiet --output $GITHUB_WORKSPACE/release.gpg --dearmor ./release.asc +# sed -i -e "s,nexusUsername=,nexusUsername=$NEXUS_USERNAME,g" gradle.properties +# sed -i -e "s,nexusPassword=,nexusPassword=$NEXUS_PASSWORD,g" gradle.properties +# sed -i -e "s,signing.keyId=,signing.keyId=$GPG_KEY_ID,g" gradle.properties +# sed -i -e "s,signing.password=,signing.password=$GPG_PASSWORD,g" gradle.properties +# sed -i -e "s,signing.secretKeyRingFile=,signing.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg,g" gradle.properties +# sed -i -e "s,STAGING_PROFILE_ID=,STAGING_PROFILE_ID=$PROFILE_ID,g" gradle.properties +# env: +# GPG_KEY_ARMOR: "${{ secrets.SIGNING_KEY_ARMOR }}" +# GPG_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} +# GPG_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} +# NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} +# NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} +# PROFILE_ID: ${{ secrets.STAGING_PROFILE_ID }} - name: Publish to sonatype run: ./gradlew publish -Dorg.gradle.parallel=false