Publish to the Ballerina central #180
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: Publish to the Ballerina central | |
on: | |
workflow_dispatch: | |
inputs: | |
environment: | |
type: choice | |
description: Select environment | |
required: true | |
options: | |
- CENTRAL | |
- DEV CENTRAL | |
- STAGE CENTRAL | |
jobs: | |
call_workflow: | |
name: Run Central Publish Workflow | |
if: ${{ github.repository_owner == 'ballerina-platform' }} | |
uses: ballerina-platform/ballerina-library/.github/workflows/[email protected] | |
secrets: inherit | |
with: | |
environment: ${{ github.event.inputs.environment }} |