Build outputs

This commit is contained in:
daz 2024-01-25 12:32:47 -07:00
parent a628cf9f2e
commit 3c5c811777
No known key found for this signature in database
4 changed files with 25 additions and 25 deletions

24
dist/main/index.js vendored
View File

@ -139014,7 +139014,7 @@ const params = __importStar(__nccwpck_require__(23885));
const cache_utils_1 = __nccwpck_require__(41678);
const cache_extract_entries_1 = __nccwpck_require__(76161);
const RESTORED_CACHE_KEY_KEY = 'restored-cache-key';
exports.META_FILE_DIR = '.gradle-build-action';
exports.META_FILE_DIR = '.setup-gradle';
class GradleStateCache {
constructor(userHome, gradleUserHome) {
this.userHome = userHome;
@ -139140,7 +139140,7 @@ class GradleStateCache {
return path_1.default.resolve(this.gradleUserHome, rawPath);
}
initializeGradleUserHome() {
const actionCacheDir = path_1.default.resolve(this.gradleUserHome, '.gradle-build-action');
const actionCacheDir = path_1.default.resolve(this.gradleUserHome, exports.META_FILE_DIR);
fs_1.default.mkdirSync(actionCacheDir, { recursive: true });
this.copyInitScripts();
this.registerToolchains();
@ -139149,11 +139149,11 @@ class GradleStateCache {
const initScriptsDir = path_1.default.resolve(this.gradleUserHome, 'init.d');
fs_1.default.mkdirSync(initScriptsDir, { recursive: true });
const initScriptFilenames = [
'gradle-build-action.build-result-capture.init.gradle',
'gradle-build-action.build-result-capture-service.plugin.groovy',
'gradle-build-action.github-dependency-graph.init.gradle',
'gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy',
'gradle-build-action.inject-develocity.init.gradle'
'gradle-actions.build-result-capture.init.gradle',
'gradle-actions.build-result-capture-service.plugin.groovy',
'gradle-actions.github-dependency-graph.init.gradle',
'gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy',
'gradle-actions.inject-develocity.init.gradle'
];
for (const initScriptFilename of initScriptFilenames) {
const initScriptContent = this.readResourceFileAsString('init-scripts', initScriptFilename);
@ -139801,7 +139801,7 @@ function generateCachingReport(listener) {
const entries = listener.cacheEntries;
return `
<details>
<summary><h4>Caching for gradle-build-action was ${listener.cacheStatus} - expand for details</h4></summary>
<summary><h4>Caching for Gradle actions was ${listener.cacheStatus} - expand for details</h4></summary>
${renderEntryTable(entries)}
<h5>Cache Entry Details</h5>
@ -141038,7 +141038,7 @@ function addPRComment(jobSummary) {
}
const pull_request_number = context.payload.pull_request.number;
core.info(`Adding Job Summary as comment to PR #${pull_request_number}.`);
const prComment = `<h3>Job Summary for gradle-build-action</h3>
const prComment = `<h3>Job Summary for Gradle</h3>
<h5>${github.context.workflow} :: <em>${github.context.job}</em></h5>
${jobSummary}`;
@ -141423,7 +141423,7 @@ function httpGetGradleVersions(url) {
}
function httpGetString(url) {
return __awaiter(this, void 0, void 0, function* () {
const httpClient = new httpm.HttpClient('gradle/gradle-build-action');
const httpClient = new httpm.HttpClient('gradle/actions');
const response = yield httpClient.get(url);
return response.readBody();
});
@ -141542,7 +141542,7 @@ function setup() {
const userHome = yield determineUserHome();
const gradleUserHome = yield determineGradleUserHome();
if (process.env[GRADLE_SETUP_VAR]) {
core.info('Gradle setup only performed on first gradle-build-action step in workflow.');
core.info('Gradle setup only performed on first gradle/actions step in workflow.');
return;
}
core.exportVariable(GRADLE_SETUP_VAR, true);
@ -141560,7 +141560,7 @@ exports.setup = setup;
function complete() {
return __awaiter(this, void 0, void 0, function* () {
if (!core.getState(GRADLE_SETUP_VAR)) {
core.info('Gradle setup post-action only performed for first gradle-build-action step in workflow.');
core.info('Gradle setup post-action only performed for first gradle/actions step in workflow.');
return;
}
core.info('In post-action step');

File diff suppressed because one or more lines are too long

22
dist/post/index.js vendored
View File

@ -136467,7 +136467,7 @@ const params = __importStar(__nccwpck_require__(23885));
const cache_utils_1 = __nccwpck_require__(41678);
const cache_extract_entries_1 = __nccwpck_require__(76161);
const RESTORED_CACHE_KEY_KEY = 'restored-cache-key';
exports.META_FILE_DIR = '.gradle-build-action';
exports.META_FILE_DIR = '.setup-gradle';
class GradleStateCache {
constructor(userHome, gradleUserHome) {
this.userHome = userHome;
@ -136593,7 +136593,7 @@ class GradleStateCache {
return path_1.default.resolve(this.gradleUserHome, rawPath);
}
initializeGradleUserHome() {
const actionCacheDir = path_1.default.resolve(this.gradleUserHome, '.gradle-build-action');
const actionCacheDir = path_1.default.resolve(this.gradleUserHome, exports.META_FILE_DIR);
fs_1.default.mkdirSync(actionCacheDir, { recursive: true });
this.copyInitScripts();
this.registerToolchains();
@ -136602,11 +136602,11 @@ class GradleStateCache {
const initScriptsDir = path_1.default.resolve(this.gradleUserHome, 'init.d');
fs_1.default.mkdirSync(initScriptsDir, { recursive: true });
const initScriptFilenames = [
'gradle-build-action.build-result-capture.init.gradle',
'gradle-build-action.build-result-capture-service.plugin.groovy',
'gradle-build-action.github-dependency-graph.init.gradle',
'gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy',
'gradle-build-action.inject-develocity.init.gradle'
'gradle-actions.build-result-capture.init.gradle',
'gradle-actions.build-result-capture-service.plugin.groovy',
'gradle-actions.github-dependency-graph.init.gradle',
'gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy',
'gradle-actions.inject-develocity.init.gradle'
];
for (const initScriptFilename of initScriptFilenames) {
const initScriptContent = this.readResourceFileAsString('init-scripts', initScriptFilename);
@ -137254,7 +137254,7 @@ function generateCachingReport(listener) {
const entries = listener.cacheEntries;
return `
<details>
<summary><h4>Caching for gradle-build-action was ${listener.cacheStatus} - expand for details</h4></summary>
<summary><h4>Caching for Gradle actions was ${listener.cacheStatus} - expand for details</h4></summary>
${renderEntryTable(entries)}
<h5>Cache Entry Details</h5>
@ -138359,7 +138359,7 @@ function addPRComment(jobSummary) {
}
const pull_request_number = context.payload.pull_request.number;
core.info(`Adding Job Summary as comment to PR #${pull_request_number}.`);
const prComment = `<h3>Job Summary for gradle-build-action</h3>
const prComment = `<h3>Job Summary for Gradle</h3>
<h5>${github.context.workflow} :: <em>${github.context.job}</em></h5>
${jobSummary}`;
@ -138639,7 +138639,7 @@ function setup() {
const userHome = yield determineUserHome();
const gradleUserHome = yield determineGradleUserHome();
if (process.env[GRADLE_SETUP_VAR]) {
core.info('Gradle setup only performed on first gradle-build-action step in workflow.');
core.info('Gradle setup only performed on first gradle/actions step in workflow.');
return;
}
core.exportVariable(GRADLE_SETUP_VAR, true);
@ -138657,7 +138657,7 @@ exports.setup = setup;
function complete() {
return __awaiter(this, void 0, void 0, function* () {
if (!core.getState(GRADLE_SETUP_VAR)) {
core.info('Gradle setup post-action only performed for first gradle-build-action step in workflow.');
core.info('Gradle setup post-action only performed for first gradle/actions step in workflow.');
return;
}
core.info('In post-action step');

File diff suppressed because one or more lines are too long