Skip to content

feat: Backport to 1.20.1 #20

feat: Backport to 1.20.1

feat: Backport to 1.20.1 #20

Workflow file for this run

name: build
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
loader: [fabric, forge]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build API
run: ./gradlew :kuma-api:${{ matrix.loader }}:build
env:
GPR_USERNAME: ${{secrets.GPR_USERNAME}}
GPR_TOKEN: ${{secrets.GPR_TOKEN}}
GPR_BUILD_NUMBER: ${{github.run_number}}
- name: Build
run: ./gradlew :kuma:${{ matrix.loader }}:build
env:
GPR_USERNAME: ${{secrets.GPR_USERNAME}}
GPR_TOKEN: ${{secrets.GPR_TOKEN}}
GPR_BUILD_NUMBER: ${{github.run_number}}