-
-
Notifications
You must be signed in to change notification settings - Fork 57
33 lines (30 loc) · 957 Bytes
/
maven.yml
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
29
30
31
32
33
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Maven CI
on:
push:
branches: [ hikari, cleanup ]
pull_request:
branches: [ hikari, cleanup ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn package --batch-mode --update-snapshots -T 1.5C -f pom.xml -P github
- uses: actions/upload-artifact@v4
with:
name: quickshop-snapshots
path: |
**/target/*.jar
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}