1
0
Mirror von https://github.com/Chaoscaot/schemsearch synchronisiert 2024-11-19 10:20:08 +01:00

Github migration

Dieser Commit ist enthalten in:
Chaoscaot 2023-03-16 19:15:46 +01:00
Ursprung bf3fa4b217
Commit 7619304485
4 geänderte Dateien mit 76 neuen und 2 gelöschten Zeilen

23
.github/workflows/master-build.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,23 @@
name: Master Build
on:
push:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-realease:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: schemsearch-cli
path: target/release/schemsearch-cli

29
.github/workflows/release-build.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,29 @@
name: Release Build
on:
release:
types:
- published
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- name: Create Tarball
run: tar -czvf schemsearch-cli.tar.gz -C target/release schemsearch-cli
- name: upload linux artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.published_release.outputs.upload_url }}
asset_path: schemsearch-cli.tar.gz
asset_name: schemsearch-cli-linux.tar.gz
asset_content_type: application/gzip

22
.github/workflows/test.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,22 @@
name: Build and Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

Datei anzeigen

@ -48,9 +48,9 @@ cargo build --release
### Features: schemsearch-sql
This feature is not enabled by default as it is a specific implementation for the SteamWar.de Minecraft server.
You shouldn't enable this feature unless you know what you are doing.
**You shouldn't enable this feature unless you know what you are doing.**
---
## License
This project is licensed under the AGPL-3.0 License. See the [LICENSE](LICENSE) file for details.
This project is licensed under the AGPL-3.0 License. See the [LICENSE](LICENSE.txt) file for details.