Revert accidentally changes to the pr event

* Fix format as well
This commit is contained in:
mingjun97 2022-05-18 18:59:43 -07:00
parent 427a5338b2
commit 3a870da44b

View File

@ -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