Skip to content

Update dependency org.apache.commons:commons-dbcp2 to v2.12.0 (#63) #448

Update dependency org.apache.commons:commons-dbcp2 to v2.12.0 (#63)

Update dependency org.apache.commons:commons-dbcp2 to v2.12.0 (#63) #448

Workflow file for this run

name: main
on:
push:
paths-ignore:
- 'doc/**'
- '*.md'
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '11'
- name: run tests
run: ./gradlew test
- name: deploy snapshot
run: ./gradlew publish
- name: bundle the build report
if: failure()
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip
- name: upload the build report
if: failure()
uses: actions/upload-artifact@master
with:
name: error-report
path: build-reports.zip
env:
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}