mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
refactor: wip cleanup
- Added a bunch of events - Refactor database backend - Major code cleanup - Dependency bumps - CI workflows
This commit is contained in:
75 files changed
+4019
-1303
No files matched your search
@@ -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/*
|
||||
|
||||
@@ -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.'
|
||||
|
||||
Reference in new issue
Block a user