Skip to content

Commit

Permalink
Update and rename Gradle CI.yml to Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guimc233 authored Feb 10, 2023
1 parent 8a28a0d commit 22eb269
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 47 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/Build.yml
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
47 changes: 0 additions & 47 deletions .github/workflows/Gradle CI.yml

This file was deleted.

0 comments on commit 22eb269

Please sign in to comment.