File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : API Tracker (Java 25)
2+
3+ on :
4+ workflow_dispatch : # Manual trigger only
5+
6+ permissions :
7+ issues : write
8+ contents : read
9+
10+ jobs :
11+ track-api :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ - name : Set up JDK 25
19+ uses : actions/setup-java@v4
20+ with :
21+ java-version : ' 25'
22+ distribution : ' temurin'
23+
24+ - name : Cache Maven dependencies
25+ uses : actions/cache@v4
26+ with :
27+ path : ~/.m2
28+ key : ${{ runner.os }}-m2-java25-${{ hashFiles('**/pom.xml') }}
29+ restore-keys : ${{ runner.os }}-m2
30+
31+ - name : Build and test project
32+ run : mvn clean install
33+
34+ - name : Run API Tracker
35+ run : |
36+ mvn exec:java \
37+ -pl json-java21-api-tracker \
38+ -Dexec.mainClass="io.github.simbo1905.tracker.ApiTrackerRunner" \
39+ -Dexec.args="INFO" \
40+ -Djava.util.logging.ConsoleHandler.level=INFO
Original file line number Diff line number Diff line change 1+ [tools ]
2+ java = " 25.0.2"
You can’t perform that action at this time.
0 commit comments