This commit is contained in:
Colbster937
2025-05-07 18:54:56 -05:00
parent 7de763e640
commit 1e55bc0ecd
13 changed files with 110 additions and 83 deletions

35
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Auto-update clients
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
if: ${{ github.ref == 'refs/heads/main' }}
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Build Jar
run: |
gradle wrapper
./gradlew shadowJar
- name: Publish Jar
uses: actions/upload-artifact@v4
with:
name: OriginBlacklist
path: build/libs/OriginBlacklist.jar