Skip to content

Commit f688ccd

Browse files
committed
Update on_workflow_completed.yaml to not use Omaha Proxy
1 parent 938669a commit f688ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on_workflow_completed.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
const tag = release.data.tag_name;
2727
const currentGitCommit = '${{ steps.short_sha.outputs.sha_short }}'
2828
const [_, commit, fullVersion, majorVersion] = tag.match(/visiblev8_([0-9a-f]+)-(([0-9]+)\.[0-9.]+)/);
29-
const chromeReleaseVersion = await (await fetch('https://omahaproxy.appspot.com/linux')).text();
29+
const chromeReleaseVersion = (await (await fetch('https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Linux&num=1&offset=0')).json())[0]['version'];
3030
const chromeMajorVersion = chromeReleaseVersion.split('.')[0];
3131
console.log(`tag: ${tag}`);
3232
console.log(`commit: ${commit}`);

0 commit comments

Comments
 (0)