devops: trigger chromium-with-symbols release on every Release (#7132)

References #7130
This commit is contained in:
Andrey Lushnikov 2021-06-15 01:22:31 -07:00 committed by GitHub
parent bb5da5061c
commit bf9e9bece9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
name: "Chromium With Symbols Builder"
on:
release:
types: [published]
jobs:
trigger:
name: "trigger"
runs-on: ubuntu-20.04
steps:
- run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${GH_TOKEN}" \
--data '{"event_type": "build_chromium_with_symbols"}' \
https://api.github.com/repos/microsoft/playwright-internal/dispatches
env:
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}