重构, 解决一些错误, 并添加移除时踢出玩家的选项 #24
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 设置 JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: 构建 | |
run: mvn clean package | |
- name: 上传工件 | |
uses: actions/[email protected] | |
with: | |
name: "IpacWhitelist" | |
path: /home/runner/work/IpacWhitelist/IpacWhitelist/target/*.jar |