Add publishing to gitea releases for the release workflow
All checks were successful
Build library & run tests / build (unix) (push) Successful in 34s
Build library & run tests / build (tcp) (push) Successful in 35s
Build library & run tests / docs (push) Successful in 35s

This commit is contained in:
Kodi Craft 2024-06-24 21:20:02 +02:00
parent 0d018d0869
commit 91deddc1d2
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -13,7 +13,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Publish to Gitea
- name: Publish to Gitea Cargo registry
run: nix develop -c cargo publish --dry-run --token ${{ secrets.GITEA_TOKEN }} --index sparse+https://git.colon-three.com/api/packages/kodi/cargo/
- name: Publish to crates.io
run: nix develop -c cargo publish --dry-run --token ${{ secrets.CRATESIO_TOKEN }}
- name: Publish to Gitea Releases
uses: akkuman/gitea-release-action@v1
with:
draft: true