Skip to content

update

update #33

Workflow file for this run

name: Release to Github
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build and Release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew buildPlugin
- name: Upload Jar File
uses: actions/upload-artifact@v2
with:
name: Jar File
path: build/mirai
- name: Upload All Build File
uses: actions/upload-artifact@v2
with:
name: All File
path: build
- name: Release to Github
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{steps.branch_name.outputs.SOURCE_TAG}}
prerelease: false
title: ${{steps.branch_name.outputs.SOURCE_TAG}}
files: |
build/mirai/*.jar