generated from project-mirai/mirai-console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename Gradle CI.yml to Build.yml
- Loading branch information
Showing
2 changed files
with
39 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- uses: nadock/verified_commits_check@v1 | ||
- name: Java setup | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
check-latest: true | ||
- uses: burrunan/gradle-cache-action@v1 | ||
name: BuildPlugin | ||
with: | ||
job-id: jdk11 | ||
arguments: buildPlugin | ||
gradle-version: wrapper | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: lgz-bot | ||
path: build/mirai/*.jar | ||
- name: Release | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: "dev" | ||
prerelease: true | ||
title: "Development Build" | ||
files: | | ||
build/mirai/*.jar |
This file was deleted.
Oops, something went wrong.