diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a580fff..cbfb4fb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,7 +24,7 @@ jobs: - name: Create release run: gh release create ${{ github.ref_name }} -R $REPO --generate-notes ./*.zip - name: Publish to crates.io - run: + run: | cargo login ${{ secrets.CRATES_IO_TOKEN }} cargo publish --package tdlib-rs-gen --manifest-path tdlib-rs-gen/Cargo.toml cargo publish --package tdlib-rs-parser --manifest-path tdlib-rs-parser/Cargo.toml