Try to fix publish.yaml workflow
All checks were successful
Build library & run tests / build (unix) (push) Successful in 33s
Build library & run tests / build (tcp) (push) Successful in 34s
Build library & run tests / docs (push) Successful in 35s

This commit is contained in:
Kodi Craft 2024-06-24 21:54:28 +02:00
parent 2353c1648e
commit 912b69ef93
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -14,7 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Publish to Gitea Cargo registry
run: nix develop -c cargo publish --token "Bearer ${{ secrets.GITEA_TOKEN }}" --index sparse+https://git.colon-three.com/api/packages/kodi/cargo/
run: nix develop -c cargo publish --token "Bearer ${{ secrets.GITHUB_TOKEN }}" --index sparse+https://git.colon-three.com/api/packages/kodi/cargo/
- name: Publish to crates.io
run: nix develop -c cargo publish --token ${{ secrets.CRATESIO_TOKEN }}
- name: Publish to Gitea Releases