Skip to content

Commit 1c72642

Browse files
committed
ci(generate-schema.yml): set version v3 to actions/checkout
1 parent eb53cca commit 1c72642

File tree

1 file changed

+19
-22
lines changed

1 file changed

+19
-22
lines changed

.github/workflows/generate-schema.yml

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

0 commit comments

Comments
 (0)