From 861f84b1c20d940d0c7e6be1ea8e4eee6ab565de Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 17 Jan 2024 01:56:44 +0100 Subject: [PATCH 1/3] 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: From daa515325fc995e93ba41b7487d31854ec5f3336 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 17 Jan 2024 02:01:30 +0100 Subject: [PATCH 2/3] .gitea/workflows/cargo-publish.yaml aktualisiert --- .gitea/workflows/cargo-publish.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index 29c460b..44c62bd 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -24,8 +24,7 @@ jobs: ' > ~/.cargo/config.toml - uses: katyo/publish-crates@v2 with: - args: --index "https://git.cscherr.de/PlexSheep/_cargo-index.git" \ - --registry cscherr + args: --registry cscherr registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }} # - uses: katyo/publish-crates@v2 # with: From e39720d0e7c9ca08494521eb119e31faa83c9d64 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 17 Jan 2024 02:08:32 +0100 Subject: [PATCH 3/3] .gitea/workflows/cargo-publish.yaml aktualisiert --- .gitea/workflows/cargo-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index 44c62bd..7b47192 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -25,7 +25,7 @@ jobs: - uses: katyo/publish-crates@v2 with: args: --registry cscherr - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }} + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }} # - uses: katyo/publish-crates@v2 # with: # registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }}