Skip to content

Commit 10ccc00

Browse files
committed
add ARI API action
1 parent 6cc5387 commit 10ccc00

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ari-apis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: ARI4Java ARI APIs
2+
3+
on:
4+
schedule:
5+
- cron: '0 10 * * SAT'
6+
7+
jobs:
8+
getApis:
9+
runs-on: ubuntu-18.04
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Grant execute permission for getApis
15+
run: chmod +x codegen/getApis.sh
16+
17+
- name: Execute getApis
18+
run: codegen/getApis.sh
19+
20+
- name: Create Pull Request
21+
id: cpr
22+
uses: peter-evans/create-pull-request@v3
23+
with:
24+
commit-message: ARI API Updates
25+
branch: apis
26+
delete-branch: true
27+
title: ARI API Updates
28+
body: New APIs
29+
30+
- name: Check outputs
31+
run: |
32+
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
33+
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

0 commit comments

Comments
 (0)