mirror of
https://github.com/gradle/actions
synced 2024-11-27 20:02:19 +00:00
Build outputs
This commit is contained in:
parent
c09f41c4bd
commit
f1c1269910
4 changed files with 8 additions and 8 deletions
6
dist/main/index.js
vendored
6
dist/main/index.js
vendored
|
@ -64973,13 +64973,13 @@ class GradleStateCache {
|
||||||
initializeGradleUserHome(gradleUserHome, initScriptsDir) {
|
initializeGradleUserHome(gradleUserHome, initScriptsDir) {
|
||||||
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'];
|
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'];
|
||||||
for (const initScriptFilename of initScriptFilenames) {
|
for (const initScriptFilename of initScriptFilenames) {
|
||||||
const initScriptContent = this.readResourceAsString(initScriptFilename);
|
const initScriptContent = this.readInitScriptAsString(initScriptFilename);
|
||||||
const initScriptPath = path_1.default.resolve(initScriptsDir, initScriptFilename);
|
const initScriptPath = path_1.default.resolve(initScriptsDir, initScriptFilename);
|
||||||
fs_1.default.writeFileSync(initScriptPath, initScriptContent);
|
fs_1.default.writeFileSync(initScriptPath, initScriptContent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
readResourceAsString(resource) {
|
readInitScriptAsString(resource) {
|
||||||
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', resource);
|
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', 'init-scripts', resource);
|
||||||
return fs_1.default.readFileSync(absolutePath, 'utf8');
|
return fs_1.default.readFileSync(absolutePath, 'utf8');
|
||||||
}
|
}
|
||||||
debugReportGradleUserHomeSize(label) {
|
debugReportGradleUserHomeSize(label) {
|
||||||
|
|
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
6
dist/post/index.js
vendored
6
dist/post/index.js
vendored
|
@ -64024,13 +64024,13 @@ class GradleStateCache {
|
||||||
initializeGradleUserHome(gradleUserHome, initScriptsDir) {
|
initializeGradleUserHome(gradleUserHome, initScriptsDir) {
|
||||||
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'];
|
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'];
|
||||||
for (const initScriptFilename of initScriptFilenames) {
|
for (const initScriptFilename of initScriptFilenames) {
|
||||||
const initScriptContent = this.readResourceAsString(initScriptFilename);
|
const initScriptContent = this.readInitScriptAsString(initScriptFilename);
|
||||||
const initScriptPath = path_1.default.resolve(initScriptsDir, initScriptFilename);
|
const initScriptPath = path_1.default.resolve(initScriptsDir, initScriptFilename);
|
||||||
fs_1.default.writeFileSync(initScriptPath, initScriptContent);
|
fs_1.default.writeFileSync(initScriptPath, initScriptContent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
readResourceAsString(resource) {
|
readInitScriptAsString(resource) {
|
||||||
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', resource);
|
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', 'init-scripts', resource);
|
||||||
return fs_1.default.readFileSync(absolutePath, 'utf8');
|
return fs_1.default.readFileSync(absolutePath, 'utf8');
|
||||||
}
|
}
|
||||||
debugReportGradleUserHomeSize(label) {
|
debugReportGradleUserHomeSize(label) {
|
||||||
|
|
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue