-
Notifications
You must be signed in to change notification settings - Fork 10
28 lines (26 loc) · 1014 Bytes
/
master-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: 'Release'
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}
jobs:
release:
name: 'Publish Release'
runs-on: ubuntu-latest
environment: production
steps:
- name: 'Update dependents'
env:
GITHUB_TOKEN: ${{ secrets.JENKINS_GITHUB_PAT }}
run: |
set -x
version="${GITHUB_SHA}"
curl --fail \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/runtimeverification/devops/dispatches \
-d '{"event_type":"on-demand-test","client_payload":{"repo":"runtimeverification/blockchain-k-plugin","version":"'${version}'"}}'