Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PI-2672 Fix Sonar change detection by leaving git directory #4473

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/actions/get-build-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ runs:
with:
cache-encryption-key: ${{ inputs.gradle-encryption-key }}
cache-read-only: true
remove-git-dir: false

- name: Get build info
if: ${{ steps.gradle_file.outputs.files_exists == 'true' }}
Expand Down
7 changes: 0 additions & 7 deletions .github/actions/setup-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ inputs:
A suitable key can be generated with `openssl rand -base64 16`.
Configuration-cache data will not be saved/restored without an encryption key being provided.
required: false
remove-git-dir:
description: Whether to remove the .git directory to prevent configuration cache invalidation.
required: false
default: 'true'

runs:
using: "composite"
Expand All @@ -35,6 +31,3 @@ runs:
with:
path: buildSrc/build
key: gradle-buildSrc-${{ hashFiles('buildSrc/src/**', 'buildSrc/build.gradle.kts') }}
- if: inputs.remove-git-dir == 'true'
run: rm -rf .git
shell: bash
Loading