Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Mar 9, 2023
1 parent f654797 commit ca06381
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "build"
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
release:
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: Build Plugin
run: ./gradlew buildPlugin

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

0 comments on commit ca06381

Please sign in to comment.