Update actions workflow

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
.forgejo/workflows

View file

@ -1,7 +1,9 @@
on:
push:
tags:
- v**
jobs:
build-artifacts:
build-upload:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
@ -18,3 +20,17 @@ jobs:
with:
name: 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 }}