Skip to content

Commit

Permalink
Merge pull request #191 from llxia/master
Browse files Browse the repository at this point in the history
Rename openjdkbinary folder to jdkbinary
  • Loading branch information
sophia-guo authored Oct 31, 2023
2 parents e308576 + cf1eb70 commit 086a5b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ function setupEnvVariables(version, jdksource, buildList, sdkdir) {
process.env.TEST_JDK_HOME = getTestJdkHome(version, jdksource);
}
if (!('TEST_JDK_HOME' in process.env)) {
process.env.TEST_JDK_HOME = `${sdkdir}/openjdkbinary/j2sdk-image`;
process.env.TEST_JDK_HOME = `${sdkdir}/jdkbinary/j2sdk-image`;
}
}
/**
Expand Down Expand Up @@ -1125,8 +1125,8 @@ class OidcClient {
const res = yield httpclient
.getJson(id_token_url)
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
Expand Down Expand Up @@ -6586,7 +6586,7 @@ module.exports = require("util");
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/
/******/ // The require function
/******/ function __nccwpck_require__(moduleId) {
/******/ // Check if module is in cache
Expand All @@ -6600,7 +6600,7 @@ module.exports = require("util");
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/
/******/ // Execute the module function
/******/ var threw = true;
/******/ try {
Expand All @@ -6609,23 +6609,23 @@ module.exports = require("util");
/******/ } finally {
/******/ if(threw) delete __webpack_module_cache__[moduleId];
/******/ }
/******/
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/******/
/************************************************************************/
/******/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __nccwpck_require__(227);
/******/ module.exports = __webpack_exports__;
/******/
/******/
/******/ })()
;
;
2 changes: 1 addition & 1 deletion src/runaqa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function setupEnvVariables(version: string, jdksource: string, buildList: string
process.env.TEST_JDK_HOME = getTestJdkHome(version, jdksource);
}
if (!('TEST_JDK_HOME' in process.env)) {
process.env.TEST_JDK_HOME = `${sdkdir}/openjdkbinary/j2sdk-image`;
process.env.TEST_JDK_HOME = `${sdkdir}/jdkbinary/j2sdk-image`;
}
}

Expand Down

0 comments on commit 086a5b7

Please sign in to comment.