Skip to content

Publish to the Ballerina central #50

Publish to the Ballerina central

Publish to the Ballerina central #50

name: Publish to the Ballerina central
on:
workflow_dispatch:
inputs:
environment:
type: choice
description: Select Environment
required: true
options:
- DEV CENTRAL
- STAGE CENTRAL
jobs:
call_workflow:
name: Run Central Publish Workflow
if: ${{ github.repository_owner == 'ballerina-platform' }}
uses: ballerina-platform/ballerina-standard-library/.github/workflows/central-publish-template.yml@main
with:
environment: ${{ github.event.inputs.environment }}
secrets: inherit

Check failure on line 21 in .github/workflows/central-publish.yml

View workflow run for this annotation

GitHub Actions / Publish to the Ballerina central

Invalid workflow file

The workflow is not valid. .github/workflows/central-publish.yml (Line: 21, Col: 22): Invalid input, secrets is not defined in the referenced workflow.