update files in dist
parent
9f3c744503
commit
16406df1a3
|
|
@ -48,7 +48,7 @@ function runMain() {
|
|||
try {
|
||||
model_1.Action.checkCompatibility();
|
||||
model_1.Cache.verify();
|
||||
const { dockerfile, workspace, actionFolder } = model_1.Action;
|
||||
const { workspace, actionFolder } = model_1.Action;
|
||||
const buildParameters = yield model_1.BuildParameters.create();
|
||||
const baseImage = new model_1.ImageTag(buildParameters);
|
||||
if (buildParameters.cloudRunnerCluster &&
|
||||
|
|
@ -117,19 +117,6 @@ class Action {
|
|||
static get actionFolder() {
|
||||
return `${Action.rootFolder}/dist`;
|
||||
}
|
||||
static get dockerfile() {
|
||||
const currentPlatform = process.platform;
|
||||
switch (currentPlatform) {
|
||||
case 'linux':
|
||||
return `${Action.actionFolder}/platforms/ubuntu/Dockerfile`;
|
||||
case 'win32':
|
||||
return `${Action.actionFolder}/platforms/windows/Dockerfile`;
|
||||
case 'darwin':
|
||||
return 'unused'; //Mac doesn't use a container
|
||||
default:
|
||||
throw new Error(`No Dockerfile for currently unsupported platform: ${currentPlatform}`);
|
||||
}
|
||||
}
|
||||
static get workspace() {
|
||||
return process.env.GITHUB_WORKSPACE;
|
||||
}
|
||||
|
|
@ -4903,7 +4890,7 @@ class Versioning {
|
|||
static hasAnyVersionTags() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const numberOfCommitsAsString = yield system_1.default.run('sh', undefined, {
|
||||
input: Buffer.from('git tag --list --merged HEAD | grep v[0-9]* | wc -l'),
|
||||
input: Buffer.from('git tag --list --merged HEAD | grep -E "v?[0-9]*" | wc -l'),
|
||||
cwd: this.projectPath,
|
||||
silent: false,
|
||||
});
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue