-
Notifications
You must be signed in to change notification settings - Fork 187
26 lines (23 loc) · 807 Bytes
/
ci.yml
File metadata and controls
26 lines (23 loc) · 807 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
# 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: Java CI with Maven
on:
push:
branches: [ main, 1.1.x ]
jobs:
build:
if: github.repository == 'pgjdbc/r2dbc-postgresql'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Java
uses: actions/setup-java@v5
with:
java-version: 25
distribution: temurin
cache: maven
- name: Build with Maven
env:
CENTRAL_TOKEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
CENTRAL_TOKEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
run: ./mvnw -B deploy -D skipITs -P snapshot -s settings.xml