Update actions workflow
All checks were successful
/ build-upload (push) Successful in 1m4s

This commit is contained in:
Tobias Reisinger 2024-03-05 17:38:18 +01:00
parent d8cdc2bb11
commit 8d1e813c0b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 19 additions and 3 deletions

View file

@ -1,7 +1,9 @@
on: on:
push: push:
tags:
- v**
jobs: jobs:
build-artifacts: build-upload:
runs-on: docker runs-on: docker
steps: steps:
- uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/checkout@v3
@ -18,3 +20,17 @@ jobs:
with: with:
name: teamspeak-query-lib name: teamspeak-query-lib
path: ${{ github.workspace }}/target/release/teamspeak-query-lib path: ${{ github.workspace }}/target/release/teamspeak-query-lib
- uses: https://code.forgejo.org/actions/download-artifact@v3
with:
name: teamspeak-query-lib
path: /tmp/artifacts
shell: bash
- id: copy-ts-control-artificat
run: |
cp ${{ github.workspace }}/ts-control /tmp/artifacts
shell: bash
- uses: https://code.forgejo.org/actions/forgejo-release@v1
with:
direction: upload
release-dir: /tmp/artifacts
token: ${{ github.token }}

2
Cargo.lock generated
View file

@ -182,7 +182,7 @@ dependencies = [
[[package]] [[package]]
name = "teamspeak-query-lib" name = "teamspeak-query-lib"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"clap", "clap",
"serde", "serde",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "teamspeak-query-lib" name = "teamspeak-query-lib"
version = "0.1.1" version = "0.1.2"
edition = "2021" edition = "2021"
[dependencies] [dependencies]