From 156c5d48dc67e11f074e170a807ad70a06caf2cd Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 11 Aug 2021 21:09:07 +0300 Subject: [PATCH] devops: use win canary to roll chromium --- .github/workflows/roll_chromium_build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/roll_chromium_build.yml b/.github/workflows/roll_chromium_build.yml index 569caac139..2f366ce713 100644 --- a/.github/workflows/roll_chromium_build.yml +++ b/.github/workflows/roll_chromium_build.yml @@ -16,11 +16,11 @@ jobs: script: | const fs = require('fs'); const response = await github.request('https://omahaproxy.appspot.com/all.json'); - const linux = response.data.find(({os}) => os === 'linux'); - const linuxCanary = linux.versions.find(version => version.channel === 'canary'); - fs.writeFileSync('browser_patches/chromium/BUILD_NUMBER', `${linuxCanary.branch_base_position}\n`) - core.setOutput('GIT_COMMIT', linuxCanary.chromium_commit); - core.setOutput('BASE_POSITION', linuxCanary.branch_base_position); + const win = response.data.find(({os}) => os === 'win'); + const winCanary = win.versions.find(version => version.channel === 'canary'); + fs.writeFileSync('browser_patches/chromium/BUILD_NUMBER', `${winCanary.branch_base_position}\n`) + core.setOutput('GIT_COMMIT', winCanary.chromium_commit); + core.setOutput('BASE_POSITION', winCanary.branch_base_position); - name: Prepare branch id: prepare-branch run: |