From 53a3ec3551c1ba33c754726f8db268fc3b1dfcc0 Mon Sep 17 00:00:00 2001 From: Haruto Date: Sat, 20 Apr 2024 14:53:09 +0900 Subject: [PATCH] Update Messaging API module version (#54) --- .github/workflows/publish-submodule.yml | 31 +++++++++++++++++++++++++ core/lib/Cargo.toml | 2 +- core/line_messaging_api/Cargo.toml | 2 +- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish-submodule.yml diff --git a/.github/workflows/publish-submodule.yml b/.github/workflows/publish-submodule.yml new file mode 100644 index 0000000..ede342c --- /dev/null +++ b/.github/workflows/publish-submodule.yml @@ -0,0 +1,31 @@ +name: cargo publish + +on: + workflow_dispatch: + inputs: + category: + description: 'Select submodules to publish' + required: true + type: choice + options: + - line_channel_access_token + - line_insight + - line_liff + - line_manage_audience + - line_messaging_api + - line_module_attach + - line_shop + - line_webhook + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: login + run: cargo login ${{ secrets.CARGO_TOKEN }} + + - name: publish + run: cargo publish --manifest-path core/${{ inputs.category }}/Cargo.toml diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index e747815..1cb0cda 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -49,7 +49,7 @@ version = "0.0.1" path = "../line_manage_audience" [dependencies.line_messaging_api] -version = "0.0.2" +version = "0.0.3" path = "../line_messaging_api" [dependencies.line_module] diff --git a/core/line_messaging_api/Cargo.toml b/core/line_messaging_api/Cargo.toml index 9965e9b..2ea75c4 100644 --- a/core/line_messaging_api/Cargo.toml +++ b/core/line_messaging_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "line_messaging_api" -version = "0.0.2" +version = "0.0.3" authors = ["OpenAPI Generator team and contributors"] description = "This document describes LINE Messaging API." # Override this license by providing a License Object in the OpenAPI.