Skip to content

Commit 9ab50d0

Browse files
committed
- adds pipeline definition for typesummary
1 parent 78750c2 commit 9ab50d0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/type-summary.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "update type summary"
2+
3+
on:
4+
push:
5+
paths:
6+
- '**/*.java'
7+
8+
jobs:
9+
update-type-summary:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-java@v1
14+
with:
15+
java-version: 15
16+
- name: Add execution right to the script
17+
run: chmod +x gradlew
18+
working-directory: ./typesummary
19+
- name: Build SDK
20+
run: ./gradlew --no-daemon build
21+
- name: Build and run type summary project
22+
run: ./gradlew --no-daemon run --args='-o ${{ github.workspace }}/typeSummary.txt'
23+
working-directory: ./typesummary
24+
- name: push
25+
uses: github-actions-x/[email protected]
26+
with:
27+
github-token: ${{ secrets.GITHUB_TOKEN }}
28+
push-branch: ${{ github.ref }}
29+
commit-message: '- updates types summary'
30+
force-add: 'true'
31+
files: typeSummary.txt
32+
name: Microsoft Graph DevX Tooling
33+

0 commit comments

Comments
 (0)