diff --git a/dist/index.js b/dist/index.js index f10ed44..2d940f1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -18465,6 +18465,10 @@ function getInputs() { result.lfsurl = (core.getInput('lfs-url') || ''); result.lfsCredProvider = (core.getInput('lfs-url-cred-provider') || ''); core.debug(`lfs = ${result.lfs}`); + // Default lfs cache server for PEW repositories + if (result.lfsurl == '' && result.repositoryOwner.toLowerCase() == 'playeveryware') { + result.lfsurl = `https://lfscache.office.playeveryware.com/${qualifiedRepository}`; + } // Submodules result.submodules = false; result.nestedSubmodules = false; diff --git a/src/input-helper.ts b/src/input-helper.ts index dd558e0..ef707c5 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -97,6 +97,11 @@ export async function getInputs(): Promise { result.lfsCredProvider = (core.getInput('lfs-url-cred-provider') || '') core.debug(`lfs = ${result.lfs}`) + // Default lfs cache server for PEW repositories + if (result.lfsurl == '' && result.repositoryOwner.toLowerCase() == 'playeveryware') { + result.lfsurl = `https://lfscache.office.playeveryware.com/${qualifiedRepository}` + } + // Submodules result.submodules = false result.nestedSubmodules = false