Skip to content

Commit 19debc8

Browse files
feat(internal): add dedicated build job in ci
1 parent 3af2386 commit 19debc8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,23 @@ jobs:
2929

3030
- name: Run lints
3131
run: ./scripts/lint
32+
build:
33+
timeout-minutes: 10
34+
name: build
35+
runs-on: ${{ github.repository == 'stainless-sdks/scrapegraphai-csharp' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
36+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
37+
38+
steps:
39+
- uses: actions/checkout@v4
40+
41+
- name: Set up .NET
42+
uses: actions/setup-dotnet@v3
43+
with:
44+
dotnet-version: '8.0.x'
45+
46+
- name: Build SDK
47+
run: ./scripts/build
48+
3249
test:
3350
timeout-minutes: 10
3451
name: test

0 commit comments

Comments
 (0)