Skip to content

Commit 5fdc04d

Browse files
committed
added jacoco ver as env var
1 parent 5c704f8 commit 5fdc04d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request:
66
types: [opened, reopened]
77

8+
env:
9+
JACOCO_VERSION: "0.8.14"
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest
@@ -23,7 +26,7 @@ jobs:
2326
uses: actions/cache@v4
2427
with:
2528
path: ${{ github.workspace }}/jacoco-0.8.14
26-
key: ${{ runner.os }}-jacoco-cli-${{ hashFiles('get-jacoco.sh') }}
29+
key: ${{ runner.os }}-jacoco-cli-${{ env.JACOCO_VERSION }}
2730

2831
- name: Build with Maven
2932
run: mvn --batch-mode --update-snapshots package

0 commit comments

Comments
 (0)