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 }}