mirror of
https://github.com/mingjun97/gc-mojoconsole-plus.git
synced 2024-11-27 20:18:07 +00:00
Revert accidentally changes to the pr event
* Fix format as well
This commit is contained in:
parent
427a5338b2
commit
3a870da44b
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@ -6,6 +6,13 @@ on:
|
|||||||
- "**.java"
|
- "**.java"
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "**.java"
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
- reopened
|
||||||
jobs:
|
jobs:
|
||||||
Build-Server-Jar:
|
Build-Server-Jar:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -40,10 +47,10 @@ jobs:
|
|||||||
- name: Automatic create a pre-relase
|
- name: Automatic create a pre-relase
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
uses: "marvinpinto/action-automatic-releases@latest"
|
uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
automatic_release_tag: "latest"
|
automatic_release_tag: "latest"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
title: "Development Build"
|
title: "Development Build"
|
||||||
files: |
|
files: |
|
||||||
gc-plugin/mojoconsole.jar
|
gc-plugin/mojoconsole.jar
|
Loading…
Reference in New Issue
Block a user