Skip to content

Merge pull request #19 from liubao68/work #6

Merge pull request #19 from liubao68/work

Merge pull request #19 from liubao68/work #6

Workflow file for this run

# 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 ]
jobs:
build:
if: github.repository == 'HuaweiCloudDeveloper/gaussdb-r2dbc'
runs-on: ubuntu-latest
environment: r2dbc-build
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
cache: maven
- name: Build with Maven
run: ./mvnw -B deploy -P snapshot -s settings.xml