From 84b0525f229fb3425add7cc3a639739cd5a9707b Mon Sep 17 00:00:00 2001 From: lukasabbe <67807954+lukasabbe@users.noreply.github.com> Date: Thu, 2 Oct 2025 18:14:05 +0200 Subject: [PATCH] added run file --- .github/workflows/release_fabric.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release_fabric.yml diff --git a/.github/workflows/release_fabric.yml b/.github/workflows/release_fabric.yml new file mode 100644 index 0000000..3995626 --- /dev/null +++ b/.github/workflows/release_fabric.yml @@ -0,0 +1,28 @@ +name: Release Fabric +on: workflow_dispatch + +jobs: + release: + strategy: + matrix: + java: [21] + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Validate Gradle wrapper + uses: gradle/actions/wrapper-validation@v4 + - name: setup jsk ${{ matrix.java }} + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.java }} + distribution: 'microsoft' + - name: Build and Publish + run: ./gradlew fabric:build fabric:modrinth + env: + MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} + - name: Capture build artifacts + uses: actions/upload-artifact@v4 + with: + name: Artifacts + path: fabric/build/libs/ \ No newline at end of file