From 18bd508bcfc52e8a6c76a2748f34d10fa2f3e76d Mon Sep 17 00:00:00 2001 From: Alexis Tual Date: Thu, 16 May 2024 16:06:52 +0200 Subject: [PATCH] Remove unnecessary matrix env vars --- .github/workflows/integ-test-inject-develocity.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/integ-test-inject-develocity.yml b/.github/workflows/integ-test-inject-develocity.yml index 0c1b909..56ac29a 100644 --- a/.github/workflows/integ-test-inject-develocity.yml +++ b/.github/workflows/integ-test-inject-develocity.yml @@ -84,11 +84,6 @@ jobs: gradle: [current, 7.6.2, 6.9.4, 5.6.4] os: ${{fromJSON(inputs.runner-os)}} plugin-version: [3.16.2, 3.17.3] - include: - - plugin-version: 3.16.2 - accessKeyEnv: GRADLE_ENTERPRISE_ACCESS_KEY - - plugin-version: 3.17.3 - accessKeyEnv: DEVELOCITY_ACCESS_KEY runs-on: ${{ matrix.os }} steps: - name: Checkout sources @@ -130,18 +125,14 @@ jobs: DEVELOCITY_PLUGIN_VERSION: ${{ matrix.plugin-version }} DEVELOCITY_CCUD_PLUGIN_VERSION: '2.0' # Access key also set as an env var, we want to check it does not leak - ${{matrix.accessKeyEnv}}: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} strategy: fail-fast: false matrix: gradle: [ current, 7.6.2, 6.9.4, 5.6.4 ] os: ${{fromJSON(inputs.runner-os)}} plugin-version: [ 3.16.2, 3.17.3 ] - include: - - plugin-version: 3.16.2 - accessKeyEnv: GRADLE_ENTERPRISE_ACCESS_KEY - - plugin-version: 3.17.3 - accessKeyEnv: DEVELOCITY_ACCESS_KEY runs-on: ubuntu-latest steps: - name: Checkout sources