CMake Refactor and Github Actions Hook

This commit is contained in:
Michael Legleux
2022-01-05 07:36:56 -08:00
committed by GitHub
parent aa65d1669d
commit 2f0b3235ee
11 changed files with 105 additions and 104 deletions

15
.github/workflows/clio_ci.yml vendored Normal file
View 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 }}"}}'