Skip to content

Commit

Permalink
Add JOBRUNR_PRO_LICENSE environment variable based on GitHub Secret
Browse files Browse the repository at this point in the history
Add JOBRUNR_PRO_LICENSE environment variable based on GitHub Secret

#dependency-upgrade/jobrunr-7
  • Loading branch information
smcvb committed Sep 4, 2024
1 parent ed3616d commit 86c38a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 86c38a5

Please sign in to comment.