Update publish.yaml to properly format token for gitea
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 36s

This commit is contained in:
Kodi Craft 2024-06-24 21:33:34 +02:00
parent 4dff84f4e7
commit e1f453fa8b
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

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