From 84bcf1d8d8ea33e2e7df4b25809d2780d430cccb Mon Sep 17 00:00:00 2001 From: Paul Chen Date: Wed, 7 Jun 2023 13:49:08 +0800 Subject: [PATCH] ci: fix release ci --- .github/workflows/publish-bindings.yml | 19 ++----------------- contracts/test-contract/Cargo.toml | 1 + packages/bindings-test/Cargo.toml | 1 + packages/proto-build/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/publish-bindings.yml b/.github/workflows/publish-bindings.yml index 0266b5cf..4d63c002 100644 --- a/.github/workflows/publish-bindings.yml +++ b/.github/workflows/publish-bindings.yml @@ -22,22 +22,7 @@ jobs: override: true components: rustfmt, clippy - - name: Publish desmos-mock to crates.io 📤 - uses: katyo/publish-crates@v1 + - name: Publish crates.io 📤 + uses: katyo/publish-crates@v2 with: - path: './packages/mock' - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} - ignore-unpublished-changes: true - - - name: Publish desmos-std-derive to crates.io 📤 - uses: katyo/publish-crates@v1 - with: - path: './packages/std-derive' - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} - ignore-unpublished-changes: true - - - name: Publish desmos-bindings to crates.io 📤 - uses: katyo/publish-crates@v1 - with: - path: './packages/bindings' registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/contracts/test-contract/Cargo.toml b/contracts/test-contract/Cargo.toml index 004daf32..5f56b9d8 100644 --- a/contracts/test-contract/Cargo.toml +++ b/contracts/test-contract/Cargo.toml @@ -3,6 +3,7 @@ name = "test-contract" version = "1.0.0" authors = ["Manuel Turetta "] edition = "2018" +publish = false exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. diff --git a/packages/bindings-test/Cargo.toml b/packages/bindings-test/Cargo.toml index 60145ede..b6a93e72 100644 --- a/packages/bindings-test/Cargo.toml +++ b/packages/bindings-test/Cargo.toml @@ -2,6 +2,7 @@ name = "bindings-test" version = "1.0.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/proto-build/Cargo.toml b/packages/proto-build/Cargo.toml index f8f13f3f..abe931bb 100644 --- a/packages/proto-build/Cargo.toml +++ b/packages/proto-build/Cargo.toml @@ -1,8 +1,8 @@ [package] edition = "2021" name = "proto-build" -publish = false version = "0.1.0" +publish = false [dependencies] heck = "0.4.0"