Skip to content

Commit 4e8431b

Browse files
bindiegoclaude
andcommitted
feat: add Maven compilation CI workflow for streaming branch
- Add GitHub Actions workflow to automatically compile Maven project - Workflow triggers on push/PR to streaming branch only - Includes JDK 11 setup and Maven dependency caching for faster builds - Add build status badge to README for visibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6a91096 commit 4e8431b

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Maven Compile
2+
3+
on:
4+
push:
5+
branches: [ streaming ]
6+
pull_request:
7+
branches: [ streaming ]
8+
9+
jobs:
10+
compile:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: '11'
20+
distribution: 'temurin'
21+
22+
- name: Cache Maven packages
23+
uses: actions/cache@v4
24+
with:
25+
path: ~/.m2
26+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: ${{ runner.os }}-m2
28+
29+
- name: Compile with Maven
30+
run: mvn clean compile

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## A Comprehensive Data Platform on GCP
22

3+
[![Maven Compile](https://github.com/cloudymoma/raycom/actions/workflows/maven-compile.yml/badge.svg?branch=streaming)](https://github.com/cloudymoma/raycom/actions/workflows/maven-compile.yml)
4+
35
You can use this master branch as a skeleton beam project
46

57
master分支可以用来当作一个骨架项目

0 commit comments

Comments
 (0)