Skip to content

Commit 5fa4e89

Browse files
cicd: Added Show which cache was used step for logs #TASK-7809
1 parent c4af62f commit 5fa4e89

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-java-app-workflow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ jobs:
6363
key: ${{ runner.os }}-maven-${{ inputs.hadoop_flavour || vars.HADOOP_FLAVOUR }}-${{ steps.clone_dependencies.outputs.dependencies_sha }}
6464
restore-keys: |
6565
${{ runner.os }}-maven-${{ inputs.hadoop_flavour || vars.HADOOP_FLAVOUR }}-
66+
- name: Show which cache was used
67+
run: |
68+
echo "hit=${{ steps.maven-cache.outputs['cache-hit'] }}"
69+
echo "primary=${{ steps.maven-cache.outputs['cache-primary-key'] }}"
70+
echo "matched=${{ steps.maven-cache.outputs['cache-matched-key'] }}"
6671
- name: Compile dependencies
6772
run: |
6873
if [ -f "./.github/workflows/scripts/compile_same_branch.sh" ]; then

0 commit comments

Comments
 (0)