From 759b6cb05ec6309c6eaa61bd449e9a9c2999e335 Mon Sep 17 00:00:00 2001 From: MeexReay Date: Sat, 14 Jun 2025 05:17:53 +0300 Subject: [PATCH] gitea action --- .gitea/workflows/java.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitea/workflows/java.yml diff --git a/.gitea/workflows/java.yml b/.gitea/workflows/java.yml new file mode 100644 index 0000000..77f293a --- /dev/null +++ b/.gitea/workflows/java.yml @@ -0,0 +1,35 @@ +name: Build fabric mod + +on: + push: + branches: [ '*' ] + pull_request: + branches: [ '*' ] + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + + - name: Setup Gradle 8.12.1 + uses: gradle/actions/setup-gradle@v4 + with: + gradle-version: '8.12.1' + + - name: Build with Gradle Wrapper + run: ./gradlew build + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: build + path: build/libs \ No newline at end of file