Skip to content

Commit b160680

Browse files
chore(ci): add build job
1 parent 962b633 commit b160680

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,31 @@ jobs:
3636

3737
- name: Run lints
3838
run: ./scripts/lint
39+
40+
build:
41+
timeout-minutes: 15
42+
name: build
43+
runs-on: ${{ github.repository == 'stainless-sdks/scrapegraphai-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
44+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
45+
46+
steps:
47+
- uses: actions/checkout@v4
48+
49+
- name: Set up Java
50+
uses: actions/setup-java@v4
51+
with:
52+
distribution: temurin
53+
java-version: |
54+
8
55+
21
56+
cache: gradle
57+
58+
- name: Set up Gradle
59+
uses: gradle/actions/setup-gradle@v4
60+
61+
- name: Build SDK
62+
run: ./scripts/build
63+
3964
test:
4065
timeout-minutes: 15
4166
name: test

0 commit comments

Comments
 (0)