mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 21:58:52 +03:00
devops: add manual trigger for chromium builders (#7670)
This commit is contained in:
parent
64ef88999e
commit
2c157796e6
11
.github/workflows/trigger_build_chromium.yml
vendored
11
.github/workflows/trigger_build_chromium.yml
vendored
@ -1,6 +1,12 @@
|
||||
name: "Chromium Builder"
|
||||
name: "Trigger: Chromium Builds"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: 'Playwright SHA / ref to build Chromium'
|
||||
required: true
|
||||
default: 'master'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@ -18,7 +24,8 @@ jobs:
|
||||
curl -X POST \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-H "Authorization: token ${GH_TOKEN}" \
|
||||
--data "{\"event_type\": \"build_chromium\", \"client_payload\": {\"ref\": \"${GITHUB_SHA}\"}}" \
|
||||
--data "{\"event_type\": \"build_chromium\", \"client_payload\": {\"ref\": \"${GHREF}\"}}" \
|
||||
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
||||
GHREF: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || github.sha }}
|
||||
|
@ -1,11 +1,11 @@
|
||||
name: "Chromium With Symbols Builder"
|
||||
name: "Trigger: Chromium with Symbols Builds"
|
||||
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: 'Playwright SHA / ref to build Chromium'
|
||||
description: 'Playwright SHA / ref to build Chromium With Symbols'
|
||||
required: true
|
||||
default: 'master'
|
||||
release:
|
||||
@ -16,7 +16,7 @@ on:
|
||||
- release-*
|
||||
paths:
|
||||
- browser_patches/chromium/BUILD_NUMBER
|
||||
- .github/workflows/trigger_build_chromium.yml
|
||||
- .github/workflows/trigger_build_chromium_with_symbols.yml
|
||||
|
||||
jobs:
|
||||
trigger:
|
||||
|
Loading…
Reference in New Issue
Block a user