Skip to content

Commit 6047b50

Browse files
authored
Add Generate Schema workflow
1 parent 835c571 commit 6047b50

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/generate.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Generate Schema
2+
3+
on:
4+
push:
5+
branches: [ generate ]
6+
watch:
7+
types: [started]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 1.1.2
20+
21+
- name: Install dependencies
22+
run: dotnet restore
23+
24+
- name: Generate
25+
run: dotnet run --project .\Tools\Generate\Generate.csproj -- ${{ secrets.GITHUB_TOKEN }} .\Octokit.GraphQL\
26+
27+
- name: Build
28+
run: dotnet build

0 commit comments

Comments
 (0)