Skip to content

Commit d1d499d

Browse files
committed
fix workflow
1 parent 622a9d8 commit d1d499d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/gradle.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
name: Java CI with Gradle
1+
name: Java CI
22

3-
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
3+
on: [push]
84

95
jobs:
106
build:
@@ -13,11 +9,9 @@ jobs:
139

1410
steps:
1511
- uses: actions/checkout@v4
16-
- name: Set up JDK
17-
uses: actions/setup-java@v4
12+
- uses: actions/setup-java@v4
1813
with:
1914
distribution: 'temurin'
2015
java-version: 22
2116
cache: 'gradle'
22-
- name: Build with Gradle
23-
run: ./gradlew compiler:test examples:test
17+
- run: ./gradlew compiler:test examples:test

0 commit comments

Comments
 (0)