diff --git a/dist/index.js b/dist/index.js index 2689df0b..0e9b969e 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index a64d613e..aed9d041 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/remote-client/index.ts b/src/model/cloud-runner/remote-client/index.ts index e86db9c8..9bd3533c 100644 --- a/src/model/cloud-runner/remote-client/index.ts +++ b/src/model/cloud-runner/remote-client/index.ts @@ -71,7 +71,7 @@ export class RemoteClient { RemoteClientLogger.log( `${CloudRunnerFolders.repoPathAbsolute} repo exists - skipping clone - retained workspace mode ${CloudRunner.buildParameters.retainWorkspace}`, ); - await CloudRunnerSystem.Run(`git reset --hard ${CloudRunner.buildParameters.gitSha}`); + await CloudRunnerSystem.Run(`git fetch && git reset --hard ${CloudRunner.buildParameters.gitSha}`); return; } @@ -108,7 +108,7 @@ export class RemoteClient { if (CloudRunner.buildParameters.useSharedLargePackages) { const filePath = path.join(CloudRunnerFolders.projectPathAbsolute, `Packages/manifest.json`); let manifest = fs.readFileSync(filePath, 'utf8'); - manifest = manifest.replace(/LargeContent/g, '../../LargeContent'); + manifest = manifest.replace(/LargeContent/g, '../../../LargeContent'); fs.writeFileSync(filePath, manifest); if (CloudRunner.buildParameters.cloudRunnerDebug) { CloudRunnerLogger.log(`Package Manifest`); diff --git a/src/model/cloud-runner/services/cloud-runner-custom-steps.ts b/src/model/cloud-runner/services/cloud-runner-custom-steps.ts index 8e2737f8..dec8d010 100644 --- a/src/model/cloud-runner/services/cloud-runner-custom-steps.ts +++ b/src/model/cloud-runner/services/cloud-runner-custom-steps.ts @@ -8,6 +8,7 @@ import path from 'path'; import * as fs from 'fs'; import Input from '../../input'; import CloudRunnerOptions from '../cloud-runner-options'; +import CloudRunnerLogger from './cloud-runner-logger'; export class CloudRunnerCustomSteps { static GetCustomStepsFromFiles(hookLifecycle: string): CustomStep[] { @@ -141,6 +142,9 @@ export class CloudRunnerCustomSteps { // } const isArray = steps.replace(/\s/g, ``)[0] === `-`; + if (CloudRunner.buildParameters?.cloudRunnerDebug) { + CloudRunnerLogger.log(`Parsing: ${steps}`); + } const object: CustomStep[] = isArray ? YAML.parse(steps) : [YAML.parse(steps)]; for (const step of object) { CloudRunnerCustomSteps.ConvertYamlSecrets(step);