Skip to content

Update BaseAPI dependency and adjust database service init #28

Update BaseAPI dependency and adjust database service init

Update BaseAPI dependency and adjust database service init #28

Workflow file for this run

on:
push:
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v4
- name: Configure Git
run: git config --global user.email "[email protected]" && git config --global user.name "Gitea Actions"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build
run: ./gradlew shadowJar --no-daemon --stacktrace
- name: Rebuild on Failure
if: ${{ failure() }}
run: |
./gradlew clean cleanCache
./gradlew shadowJar --no-daemon --stacktrace