diff --git a/.github/workflows/crate-io.yml b/.github/workflows/crate-io.yml new file mode 100644 index 000000000..884b38095 --- /dev/null +++ b/.github/workflows/crate-io.yml @@ -0,0 +1,28 @@ +--- +on: + push: + workflow_run: + branches: [master] + +steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + 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 +