From 65e2ec3d0684eaf1a4140632dcededdde5418a7f Mon Sep 17 00:00:00 2001 From: "Piotr P. Karwasz" Date: Wed, 9 Apr 2025 11:20:39 +0200 Subject: [PATCH] Add Develocity access key to Android build --- .github/workflows/android-reusable-test.yaml | 4 ++++ .github/workflows/build.yaml | 2 ++ .github/workflows/integration-test.yaml | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/android-reusable-test.yaml b/.github/workflows/android-reusable-test.yaml index b44a6988..6b5fcd4c 100644 --- a/.github/workflows/android-reusable-test.yaml +++ b/.github/workflows/android-reusable-test.yaml @@ -33,6 +33,10 @@ on: description: The branch, tag or SHA of `logging-log4j-samples` to checkout type: string default: ${{ github.ref }} + secrets: + DEVELOCITY_ACCESS_KEY: + description: The access key to the Develocity server + required: false permissions: read-all diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7ba9dac9..b57d7c6c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,3 +40,5 @@ jobs: integration-test: if: github.actor != 'dependabot[bot]' uses: apache/logging-log4j-samples/.github/workflows/integration-test.yaml@main + secrets: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index a2f8670f..b6d33f81 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -33,6 +33,10 @@ on: description: The branch, tag or SHA of `logging-log4j-samples` to checkout type: string default: ${{ github.ref }} + secrets: + DEVELOCITY_ACCESS_KEY: + description: The access key to the Develocity server + required: false workflow_dispatch: inputs: log4j-version: @@ -71,6 +75,8 @@ jobs: log4j-version: ${{ inputs.log4j-version }} log4j-repository-url: ${{ inputs.log4j-repository-url }} samples-ref: ${{ inputs.samples-ref }} + secrets: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} graalvm-test: uses: apache/logging-log4j-samples/.github/workflows/graalvm-reusable-test.yaml@main