on: push: tags: - v** jobs: build-upload: 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 - id: copy-ts-control-artificat run: | cp ${{ github.workspace }}/target/release/teamspeak-query-lib /tmp/artifacts 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 }}