Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

fix: fix loader stuck on closing, fix #203 #539

fix: fix loader stuck on closing, fix #203

fix: fix loader stuck on closing, fix #203 #539

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches:
- '*'
paths:
- "kotlin/**"
pull_request:
branches:
- '*'
paths:
- "kotlin/**"
workflow_dispatch:
jobs:
build-loader:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up JDK 15
uses: actions/setup-java@v2
with:
java-version: '15'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
- name: chmod -R 755 *
run: chmod -R 755 *
- name: Build loader
run: cd ./kotlin/ && ./gradlew MiraiCP-loader:shadowJar --warning-mode all --info --stacktrace
build-plugin:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up JDK 15
uses: actions/setup-java@v2
with:
java-version: '15'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
- name: chmod -R 755 *
run: chmod -R 755 *
- name: Build plugin
run: cd ./kotlin/ && ./gradlew MiraiCP-plugin:buildPlugin --warning-mode all --info --stacktrace