From 861f84b1c20d940d0c7e6be1ea8e4eee6ab565de Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 17 Jan 2024 01:56:44 +0100 Subject: [PATCH] this time for real --- .gitea/workflows/cargo-publish.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index 0380d71..29c460b 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -14,9 +14,18 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - run: | + mkdir -p ~/.cargo/ + echo -e '[registry] + cscherr= "cscherr" + + [registries.cscherr] + index = "sparse+https://git.cscherr.de/api/packages/PlexSheep/cargo/" + ' > ~/.cargo/config.toml - uses: katyo/publish-crates@v2 with: - args: --index "https://git.cscherr.de/PlexSheep/_cargo-index.git" + args: --index "https://git.cscherr.de/PlexSheep/_cargo-index.git" \ + --registry cscherr registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }} # - uses: katyo/publish-crates@v2 # with: -- 2.40.1