From 4cd99280f60a18e492db1c1500af7663b7ae0563 Mon Sep 17 00:00:00 2001 From: saquib-adobe Date: Tue, 29 Jul 2025 23:09:27 +0530 Subject: [PATCH] Adding Google token to the secrets --- .github/workflows/maven-release.yml | 6 ++++-- .github/workflows/maven-snapshot.yml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 60a4b72f..0d8bee26 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -41,10 +41,12 @@ jobs: permissions: contents: write uses: adobe/aepsdk-commons/.github/workflows/android-maven-release.yml@gha-android-3.4.2 + secrets: + inherit: true + GOOGLE_TOKEN: ${{ secrets.GOOGLE_TOKEN }} with: tag: ${{ github.event.inputs.tag }} create-github-release: ${{ github.event.inputs.create-github-release == 'true' }} version-validation-paths: code/gradle.properties, code/optimize/src/main/java/com/adobe/marketing/mobile/optimize/OptimizeConstants.java version-validation-dependencies: Core ${{ github.event.inputs.core-dependency }}, Edge ${{ github.event.inputs.edge-dependency }} - staging-dir: code/optimize/build/staging-deploy - secrets: inherit \ No newline at end of file + staging-dir: code/optimize/build/staging-deploy \ No newline at end of file diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index 0380d85f..9d793aa0 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -25,7 +25,9 @@ jobs: permissions: contents: write uses: adobe/aepsdk-commons/.github/workflows/android-maven-snapshot.yml@gha-android-3.4.2 - secrets: inherit + secrets: + inherit: true + GOOGLE_TOKEN: ${{ secrets.GOOGLE_TOKEN }} with: ref: ${{ inputs.ref }} staging-dir: code/optimize/build/staging-deploy \ No newline at end of file