Fix bug in ts-controll; Add ci/cd
This commit is contained in:
parent
1f6d175a86
commit
51a6671726
2 changed files with 21 additions and 1 deletions
20
.forgejo/workflows/build.yaml
Normal file
20
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
on:
|
||||
push:
|
||||
jobs:
|
||||
build-artifacts:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- id: install-dependencies
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
shell: bash
|
||||
- id: cargo-build-release
|
||||
run: |
|
||||
source "$HOME/.cargo/env"
|
||||
cargo build --release
|
||||
shell: bash
|
||||
- uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: teamspeak-query-lib
|
||||
path: ${{ github.workspace }}/target/release/teamspeak-query-lib
|
|
@ -66,7 +66,7 @@ case $action in
|
|||
;;
|
||||
"back")
|
||||
teamspeak-query-lib update --back
|
||||
ts_control_move_self
|
||||
_ts_control_move_self
|
||||
teamspeak-query-lib update --microphone=true --speakers=true
|
||||
;;
|
||||
"message")
|
||||
|
|
Loading…
Reference in a new issue