From 86c38a5aba9de1e557cc90136882e4e6c79d6e26 Mon Sep 17 00:00:00 2001 From: Steven van Beelen Date: Wed, 4 Sep 2024 11:58:59 +0200 Subject: [PATCH] Add JOBRUNR_PRO_LICENSE environment variable based on GitHub Secret Add JOBRUNR_PRO_LICENSE environment variable based on GitHub Secret #dependency-upgrade/jobrunr-7 --- .github/workflows/main.yml | 4 ++++ .github/workflows/pullrequest.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90b9f93..51f09b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,11 +53,15 @@ jobs: if: ${{ !matrix.sonar-enabled }} run: | ./mvnw -B -U -Dstyle.color=always clean verify + env: + JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }} - name: Build with Coverage reports if: matrix.sonar-enabled run: | ./mvnw -B -U -Dstyle.color=always -Dcoverage clean verify + env: + JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }} - name: Sonar Analysis if: matrix.sonar-enabled diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index af64500..a865aec 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -46,11 +46,15 @@ jobs: if: ${{ !matrix.sonar-enabled }} run: | ./mvnw -B -U -Dstyle.color=always clean verify + env: + JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }} - name: Build with Coverage reports if: matrix.sonar-enabled run: | ./mvnw -B -U -Dstyle.color=always -Possrh -Dcoverage clean verify + env: + JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }} - name: Sonar Analysis if: ${{ success() && matrix.sonar-enabled && github.event.pull_request.head.repo.full_name == github.repository }}