mirror of
https://github.com/jie65535/mirai-console-jcf-plugin.git
synced 2026-09-15 03:36:09 +08:00
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jie65535 <[email protected]>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
name: Build Plugin
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
pull_request:
|
||||
branches: [ master, main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build Plugin
|
||||
run: ./gradlew buildPlugin
|
||||
|
||||
- name: Upload Plugin Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: plugin
|
||||
path: build/mirai/
|
||||
Reference in New Issue
Block a user