cargo publish line module #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cargo publish line module | |
on: | |
workflow_dispatch: | |
inputs: | |
category: | |
description: 'Select line modules 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 line module | |
run: cargo publish --manifest-path core/${{ inputs.category }}/Cargo.toml |