Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
编译
  • Loading branch information
cikiPAD authored Nov 2, 2023
1 parent 28e40ad commit 8afc890
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: OpenAiClient Test
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
check:
environment: OPENAI
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3

- name: Setup JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'

- name: chmod -R 777 *
run: chmod -R 777 *

- name: Init gradle project
run: ./gradlew clean --scan

- name: Assemble
run: ./gradlew assemble --scan

- name: BuildPlugin
run: ./gradlew buildPlugin

- name: Upload
uses: actions/upload-artifact@v3
with:
name: build
path: build/mirai/*

0 comments on commit 8afc890

Please sign in to comment.