Skip to content

Commit

Permalink
ci/feat(build/java): add java build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Baconing committed Jul 20, 2024
1 parent 1339db5 commit f96e11c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build Java

on:
push:
branches:
- master
- dev
paths:
- 'src/**'
- '.github/workflows/build-java.yml'
- 'build.gradle'
- 'settings.gradle'
- 'gradle.properties'
pull_request:

jobs:
build-jar:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build
run: ./gradlew build --scan

0 comments on commit f96e11c

Please sign in to comment.