Skip to content

Commit 08f5822

Browse files
authored
Merge pull request #560 from microsoftgraph/feature/type-summary
- adds type summary for easier reviews
2 parents 2c6e507 + 62bd786 commit 08f5822

File tree

15 files changed

+358547
-0
lines changed

15 files changed

+358547
-0
lines changed

.github/workflows/type-summary.yml

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

0 commit comments

Comments
 (0)