From d4bf14211a64d007260f74a54e6f698643187cf6 Mon Sep 17 00:00:00 2001 From: Alexis Tual Date: Wed, 15 May 2024 18:47:44 +0200 Subject: [PATCH] Fix doc snippet --- docs/setup-gradle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup-gradle.md b/docs/setup-gradle.md index bc6802a..61348d7 100644 --- a/docs/setup-gradle.md +++ b/docs/setup-gradle.md @@ -732,6 +732,8 @@ In the likely scenario that your Develocity server requires authentication, you ```yaml - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 + with: + develocity-access-key: ${{ secrets.MY_DEVELOCITY_ACCESS_KEY }} - name: Run a Gradle build with Develocity injection enabled run: ./gradlew build @@ -739,8 +741,6 @@ In the likely scenario that your Develocity server requires authentication, you DEVELOCITY_INJECTION_ENABLED: true DEVELOCITY_URL: https://develocity.your-server.com DEVELOCITY_PLUGIN_VERSION: 3.17 - with: - develocity-access-key: ${{ secrets.MY_DEVELOCITY_ACCESS_KEY }} ``` This access key will be used during the action execution to get a short-lived token and set it to the DEVELOCITY_ACCESS_KEY environment variable.