🔧Try to add a gitea actions.
This commit is contained in:
23
.gitea/workflow/build.yaml
Normal file
23
.gitea/workflow/build.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Auto Build
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v5
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: 21
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v5
|
||||||
|
- name: Build
|
||||||
|
run: ./gradlew build
|
||||||
|
- name: Upload build
|
||||||
|
uses: actions/upload-artifact@v5
|
||||||
|
with:
|
||||||
|
name: build
|
||||||
|
path: ${{ gitea.workspace }}/build/tcoww-*-all.jar
|
||||||
Reference in New Issue
Block a user