From 12a285f5dd82a2aeced232d5dc85cb69608385df Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 28 Sep 2023 16:33:47 +0200 Subject: [PATCH] ci: fix the CI configuration for rust release Signed-off-by: Vincenzo Palazzo --- .github/workflows/crate-io.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/crate-io.yml b/.github/workflows/crate-io.yml index d8444899e..e62bfeb81 100644 --- a/.github/workflows/crate-io.yml +++ b/.github/workflows/crate-io.yml @@ -1,13 +1,13 @@ --- +name: "Release Rust 🦀" on: push: branches: - "master" jobs: - publish: - runs-on: ubuntu-20.04 - name: Publish to crates.io + release_rust: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -16,6 +16,16 @@ jobs: override: true - uses: katyo/publish-crates@v2 with: + path: './cln-rpc' + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + ignore-unpublished-changes: true + - uses: katyo/publish-crates@v2 + with: + path: './plugins' + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + ignore-unpublished-changes: true + - uses: katyo/publish-crates@v2 + with: + path: './cln-grpc' registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} ignore-unpublished-changes: true - publish-delay: 5000