diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6ff02689..7c00e29ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,7 +109,6 @@ jobs: working-directory: ./kotlin steps: - uses: actions/checkout@v3 - - name: Set up Maven Central Repository uses: actions/setup-java@v3 with: @@ -129,3 +128,19 @@ jobs: OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + + publish-crates: + name: Publish crates.io + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./rust + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: katyo/publish-crates@v2 + with: + registry-token: ${{ secrets.CARGO_TOKEN }}