move tools out of /opt/hostedtoolcache due it beeing a mounted volume (#121)

We can define ACT_TOOLSDIRECTORY back to /opt/hostedtoolcache to revert this
This commit is contained in:
ChristopherHX
2024-01-30 22:22:39 +01:00
committed by GitHub
parent 1cb15e3411
commit c8a0963004
5 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ installOpenJDK() {
exit 1
fi
JAVA_TOOLCACHE_PATH="${AGENT_TOOLSDIRECTORY}/Java_${VENDOR_NAME}_jdk"
JAVA_TOOLCACHE_PATH="${ACT_TOOLSDIRECTORY}/Java_${VENDOR_NAME}_jdk"
fullJavaVersion=$(cat "${javaVersionPath}/release" | grep "^SEMANTIC" | cut -d "=" -f 2 | tr -d "\"" | tr "+" "-")