Skip to content

ci: Fix snapshots building #6

ci: Fix snapshots building

ci: Fix snapshots building #6

Workflow file for this run

name: build
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
loader: [fabric, forge, neoforge]
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}}