Skip to content

Commit cc603c9

Browse files
authored
Merge pull request #247 from octokit/generate-schema
Add Generate Schema workflow
2 parents a78bcf3 + 3ee144d commit cc603c9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Generate Schema
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: "0 0 * * *" # Run at 00:00 UTC everyday
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Setup .NET Core
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 3.1.x
22+
23+
- name: Install dependencies
24+
run: dotnet restore
25+
26+
- name: Generate
27+
run: dotnet run --project ./Tools/Generate/Generate.csproj -- ${{ github.token }} ./Octokit.GraphQL/
28+
29+
- name: Build
30+
run: dotnet build

0 commit comments

Comments
 (0)