diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 0d8bee26..60a4b72f 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -41,12 +41,10 @@ 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 \ No newline at end of file + staging-dir: code/optimize/build/staging-deploy + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index 9d793aa0..0380d85f 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -25,9 +25,7 @@ jobs: permissions: contents: write uses: adobe/aepsdk-commons/.github/workflows/android-maven-snapshot.yml@gha-android-3.4.2 - secrets: - inherit: true - GOOGLE_TOKEN: ${{ secrets.GOOGLE_TOKEN }} + secrets: inherit with: ref: ${{ inputs.ref }} staging-dir: code/optimize/build/staging-deploy \ No newline at end of file