Skip to content

Commit

Permalink
edit workflow & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hikari committed Sep 26, 2024
1 parent ffadd08 commit 90509ca
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: HikariServerLauncher Build(Linux)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: PyInstaller Action
uses: Martin005/[email protected]
with:
spec: main.py
requirements: requirements.txt
options: -F -i HSL.ico
python_ver: 3.10.11
python_arch: x64
upload_exe_with_name: HikariServerLauncher-${{ vars.VERSION }}-linux

- name: EXE Upload to website
if: success()
uses: wearesection/[email protected]
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: root
password: ${{ secrets.PASSWORD }}
localPath: ./dist/main
remotePath: ${{ secrets.REMOTEPATH_LINUX }}
38 changes: 38 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: HikariServerLauncher Build(Windows)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: PyInstaller Action
uses: Martin005/[email protected]
with:
spec: main.py
requirements: requirements.txt
options: -F -i HSL.ico
python_ver: 3.10.11
python_arch: x64
upload_exe_with_name: HikariServerLauncher-${{ vars.VERSION }}.exe

- name: EXE Upload to website
if: success()
uses: wearesection/[email protected]
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: root
password: ${{ secrets.PASSWORD }}
localPath: .\dist\main.exe
remotePath: ${{ secrets.REMOTEPATH }}
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
![HikariServerLauncher](https://socialify.git.ci/Hikari16665/HikariServerLauncher/image?description=1&descriptionEditable=Lightweight%20Minecraft%20server%20launcher/installer%20in%20Python&font=Jost&forks=1&issues=1&name=1&pattern=Diagonal%20Stripes&pulls=1&stargazers=1&theme=Auto)
![HikariServerLauncher](https://socialify.git.ci/Hikari16665/HikariServerLauncher/image?description=1&font=Inter&forks=1&issues=1&logo=https%3A%2F%2Fgithub.com%2FHikari16665%2FHikariServerLauncher%2Fblob%2Fmain%2FHSL.png%3Fraw%3Dtrue&name=1&owner=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Auto)
![Python](https://img.shields.io/badge/Language-%20Python-blue)
![GitHub License](https://img.shields.io/github/license/Hikari16665/HikariServerLauncher)
![GitHub Downloads](https://img.shields.io/github/downloads/Hikari16665/HikariServerLauncher/total)
![GitHub last commit](https://img.shields.io/github/last-commit/Hikari16665/HikariServerLauncher)
[![Telegram](https://img.shields.io/badge/Chat-Telegram-27A7E7)](https://t.me/hikariserverlauncher)
[![QQ](https://img.shields.io/badge/Chat-QQ-27A7E7)](https://qm.qq.com/q/bUTqWXnwje)
# Hikari Server Launcher
Hikari Server Launcher 是一个简单、轻量级的,易用的Minecraft服务器安装工具。
Hikari Server Launcher is a simple, lightweight, and easy-to-use launcher/installer for Minecraft Server.
Expand Down Expand Up @@ -36,7 +42,7 @@ Hikari Server Launcher is a simple, lightweight, and easy-to-use launcher/instal
## Contributing 贡献
- 你可以从两方面对此项目贡献:
- 提交 issue, pull request 来完善这个项目。
- 编辑configs.json,这是特定配置的索引文件,个人时间有限无法全部适配,configs.json的格式可以参考 [config.json](https://github.com/Hikari16665/HikariServerLauncher/blob/main/configs.json)
- 编辑configs.json,这是特定配置的索引文件,个人时间有限无法全部适配,configs.json的格式可以参考 [config.json](https://github.com/Hikari16665/HikariServerLauncher/blob/main/spconfigs.json),里面有详细的注释


## 致谢 Thanks
Expand Down

0 comments on commit 90509ca

Please sign in to comment.