ci(fix): fix release

This commit is contained in:
MedzikUser 2022-08-16 23:34:47 +02:00
parent dd854ee6e5
commit c51c0a2507
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
3 changed files with 33 additions and 8 deletions

View File

@ -124,14 +124,6 @@ jobs:
shell: bash
if: startsWith(github.ref, 'refs/tags/v')
- name: Get CHANGELOG.md entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v1
with:
version: ${{ steps.tag_name.outputs.current_version }}
path: ./CHANGELOG.md
if: startsWith(github.ref, 'refs/tags/v')
- name: Publish
uses: svenstaro/upload-release-action@v2
with:

2
Cross.toml Normal file
View File

@ -0,0 +1,2 @@
[target.x86_64-unknown-freebsd]
image = "svenstaro/cross-x86_64-unknown-freebsd:latest"

31
README.md Normal file
View File

@ -0,0 +1,31 @@
# Servers - Simple TCP and WebSocket server
[docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs
[total-lines]: https://img.shields.io/tokei/lines/github/MedzikUser/servers?style=for-the-badge&logo=github&color=fede00
[code-size]: https://img.shields.io/github/languages/code-size/MedzikUser/servers?style=for-the-badge&color=c8df52&logo=github
[ci]: https://img.shields.io/github/workflow/status/MedzikUser/servers/Rust/main?style=for-the-badge
[image]:https://socialify.git.ci/MedzikUser/servers/image?description=1&font=KoHo&language=1&owner=1&pattern=Circuit%20Board&theme=Light
[![docs-rs]](https://servers.medzik.xyz)
[![total-lines]](https://github.com/MedzikUser/servers)
[![code-size]](https://github.com/MedzikUser/servers)
[![ci]](https://github.com/MedzikUser/servers/actions/workflows/build.yml)
[![image]](https://github.com/MedzikUser/servers)
A simple TCP server for clients and WebSocket server written in Rust 🦀 which can be extended with plugins.
## 👨‍💻 Building
First clone the repository: `git clone https://github.com/MedzikUser/servers.git`
### Requirements
- Rust
To build run the command: `cargo build --release`
The compiled binary can be found in `./target/release/servers`
## Writing plugins
Read the docs from [plugins](https://servers.medzik.xyz/servers/plugins) module.