forked from TweetyProjectTeam/TweetyProject
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (23 loc) · 728 Bytes
/
package.yml
File metadata and controls
28 lines (23 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
# Compile source and target are still specified in pom.xml
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode package
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@v4