[ISSUE-176] bug fix for jdbc sql insert #770
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
JAVA_TOOL_OPTIONS: -Xmx3g | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Print available memory | |
run: free -m | |
- name: Set time zone | |
run: sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Setup Protoc | |
uses: arduino/setup-protoc@v2 | |
with: | |
version: "21.7" | |
- name: Build and Test | |
run: mvn -B -e clean test -Duser.timezone=Asia/Shanghai |