Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
h908714124 committed Oct 24, 2024
1 parent 1766fa8 commit c45a7af
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Java CI
name: Java CI with Gradle

on: [push]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
Expand All @@ -9,9 +13,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 22
cache: 'gradle'
- run: ./gradlew compiler:test examples:test
- name: Build with Gradle
run: ./gradlew compiler:test examples:test

0 comments on commit c45a7af

Please sign in to comment.