mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
Update command for linking Maven repository on Windows
removes the repository directory if it exists, prevents failure if it does not Closes #40543 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
This commit is contained in:
2
.github/actions/maven-cache/action.yml
vendored
2
.github/actions/maven-cache/action.yml
vendored
@@ -42,7 +42,7 @@ runs:
|
||||
mkdir -p ..\..\..\.m2
|
||||
mkdir -p D:\.m2\repository
|
||||
cmd /c mklink /d $HOME\.m2\repository D:\.m2\repository
|
||||
cmd /c mklink /d $PWD\..\..\..\.m2\repository D:\.m2\repository
|
||||
cmd /c "rmdir /s /q $PWD\..\..\..\.m2\repository & mklink /d $PWD\..\..\..\.m2\repository D:\.m2\repository"
|
||||
|
||||
- id: restore-maven-repository
|
||||
name: Maven cache
|
||||
|
||||
Reference in New Issue
Block a user