Update README with detailed usage instructions; switch workflows to MiniServ-nix-runner
cargo build / build (push) Successful in 8s
cargo test / test (push) Successful in 4s
cargo test / publish (push) Failing after 3s

This commit is contained in:
2026-08-22 09:22:30 -05:00
parent 18bcb3d9e6
commit 9039518814
+13 -1
View File
@@ -42,7 +42,19 @@ jobs:
index = "sparse+https://git.moturpin.com/api/packages/Matsubaa/cargo/"
EOF
- name: Write Cargo credentials
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: |
mkdir -p ~/.cargo
umask 077
cat > ~/.cargo/credentials.toml <<'EOF'
[registries.gitea]
token = "${CARGO_TOKEN}"
EOF
- name: Publish to Gitea Cargo registry
env:
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: nix develop --extra-experimental-features "nix-command flakes" -c cargo publish --registry gitea --verbose
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: nix develop --extra-experimental-features "nix-command flakes" -c cargo publish --registry gitea --token "${CARGO_TOKEN}" --verbose