refactor: wip cleanup

- Added a bunch of events
- Refactor database backend
- Major code cleanup
- Dependency bumps
- CI workflows
This commit is contained in:
darksaid98 committed 2023-12-16 17:28:36 +01:00
1 parent 6949e94310
commit e0644ad4de
75 files changed
+4019 -1303

No files matched your search

+2 -9
View File
@@ -26,6 +26,7 @@ jobs:
matrix:
os: [ ubuntu-latest ]
java: [ 17 ]
if: github.ref_type != 'tag'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
@@ -48,13 +49,11 @@ jobs:
path: ${{ github.workspace }}/build/libs/
release:
needs:
- build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
if: github.ref_type == 'tag' || ((github.ref_name == 'main' || github.ref_name == 'master') && github.event_name != 'schedule')
if: github.ref_type == 'tag'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
@@ -73,17 +72,11 @@ jobs:
echo "CUSTOM_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Build with Gradle
if: github.ref_type != 'tag'
run: ./gradlew clean build
- name: Build with Gradle
if: github.ref_type == 'tag'
run: ./gradlew clean build -PcustomVersion=${{ env.CUSTOM_VERSION }}
- name: Create Release
uses: softprops/action-gh-release@v1
id: release
if: github.ref_type == 'tag'
with:
name: ${{ format('Release {0}', github.ref_name) }}
files: ${{ github.workspace }}/build/libs/*
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
stale-issue-message: ' This issue has been automatically marked as stale because it has been open for 60 days with no activity.'
stale-pr-message: 'This PR has been automatically marked as stale because it has been open for 60 days with no activity.'