mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 03:05:51 +00:00
CMake Refactor and Github Actions Hook
This commit is contained in:
15
.github/workflows/clio_ci.yml
vendored
Normal file
15
.github/workflows/clio_ci.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Trigger clio-ci
|
||||
on: [pull_request, push]
|
||||
jobs:
|
||||
dispatch_build_event:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Send build_packages repository_dispatch event to clio-ci
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
run: |
|
||||
curl -H "Authorization: token $GITHUB_TOKEN" \
|
||||
-H 'Accept: application/vnd.github.v3+json' \
|
||||
"https://api.github.com/repos/legleux/clio-ci/dispatches" \
|
||||
-d '{"event_type": "build", "client_payload": {"SHA": "${{ github.sha }}"}}'
|
||||
Reference in New Issue
Block a user