File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Trigger External Bindings Workflow
2
+ on :
3
+ workflow_dispatch :
4
+ push :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - ' bdk-ffi/**'
9
+
10
+ permissions : {}
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-24.04
15
+ steps :
16
+ # Trigger bdk-jvm-test in bdk-jvm repository
17
+ - name : Trigger bdk-jvm-test in bdk-jvm repository
18
+ if : ${{ github.ref_name == 'master' }}
19
+ run : |
20
+ response=$(curl -X POST \
21
+ -H "Accept: application/vnd.github+json" \
22
+ -H "Authorization: token ${{ secrets.BDK_JVM_ACCESS_TOKEN }}" \
23
+ https://api.github.com/repos/bitcoindevkit/bdk-jvm/dispatches \
24
+ -d '{"event_type":"trigger-bdk-jvm-tests"}')
25
+ echo "Response: $response"
26
+ echo "HTTP Status Code: $(echo $response | jq -r '.status')"
27
+ echo "Response Body: $(echo $response | jq -r '.body')"
You can’t perform that action at this time.
0 commit comments