From f2af0bc32316b1d3eae8ffc8e584002f71839998 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 17 Jan 2024 01:34:45 +0100 Subject: [PATCH] this time it will work --- .gitea/workflows/cargo-publish.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index b3c9e2a..6567909 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - run: | - for CRATE in {libpt-log,libpt-core,libpt-math,libpt-ccc,libpt-bintols,libpt-hedu,libpt-net,libpt-bin,libpt}; do - cargo publish \ - --index "https://git.cscherr.de/PlexSheep/_cargo-index.git" \ - -p $CRATE - ; - done + - uses: katyo/publish-crates@v2 + with: + args: --index "https://git.cscherr.de/PlexSheep/_cargo-index.git" + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }} + # - uses: katyo/publish-crates@v2 + # with: + # registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }}