Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip

- name: Lint with Ruff
run: |
pip install ruff
ruff check --output-format=github .
continue-on-error: true

- name: Build Wheel
run: |
pip install pipx
pipx run build --wheel

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: endstone_essentials.whl
path: dist/*.whl
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ To use this plugin, ensure you have:

## Installation

1. **Download the plugin** from the release ppage and place it into the Endstone server's plugins folder.
1. To **Download the plugin** go to the [actions page](https://github.com/endstone-essentials/discord/actions/workflows/build.yml)
3. Select the latest successfull build
4. Unzip it
5. Put the .whl file in the plugins folder of your endstone server
2. Restart or reload your Endstone server to generate the configuration file.

---
Expand Down Expand Up @@ -68,4 +71,4 @@ Once the plugin is installed and configured:
---

## License
This plugin is distributed under the MIT license. See the [LICENSE](LICENSE) file for details.
This plugin is distributed under the MIT license. See the [LICENSE](LICENSE) file for details.