Skip to content

Commit 658f37b

Browse files
committed
Fix broken test
1 parent 16f1772 commit 658f37b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/actions/extract-bom-versions/__tests__/index.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { getBomUrl, fetchBomXml, extractVersions, nameToEnvVar } = require('../sr
55
const OSS_REPO = 'spring-cloud/spring-cloud-release';
66
const COMMERCIAL_REPO = 'spring-cloud/spring-cloud-release-commercial';
77
const bomUrl = (repo, ref) =>
8-
`https://raw.githubusercontent.com/${repo}/${ref}/pom.xml`;
8+
`https://raw.githubusercontent.com/${repo}/${ref}/spring-cloud-dependencies/pom.xml`;
99

1010
const fixturePath = (name) => path.join(__dirname, 'fixtures', name);
1111
const loadFixture = (name) => fs.readFileSync(fixturePath(name), 'utf-8');

‎.github/actions/extract-bom-versions/dist/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28277,7 +28277,7 @@ async function run() {
2827728277
*/
2827828278
function getBomUrl(commercial, ref) {
2827928279
const repo = commercial ? COMMERCIAL_BOM_REPO : OSS_BOM_REPO;
28280-
return `https://raw.githubusercontent.com/${repo}/${ref}/pom.xml`;
28280+
return `https://raw.githubusercontent.com/${repo}/${ref}/spring-cloud-dependencies/pom.xml`;
2828128281
}
2828228282

2828328283
/**

‎.github/actions/extract-bom-versions/src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function run() {
5252
*/
5353
function getBomUrl(commercial, ref) {
5454
const repo = commercial ? COMMERCIAL_BOM_REPO : OSS_BOM_REPO;
55-
return `https://raw.githubusercontent.com/${repo}/${ref}/pom.xml`;
55+
return `https://raw.githubusercontent.com/${repo}/${ref}/spring-cloud-dependencies/pom.xml`;
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)