-
Notifications
You must be signed in to change notification settings - Fork 65
53 lines (50 loc) · 2.18 KB
/
release_pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Library Release
on:
workflow_dispatch:
inputs:
release_libs:
description: 'Release Ballerina Libraries (ballerina/*)'
required: true
default: true
type: boolean
release_extensions:
description: 'Release Ballerina Extensions (copybook, persist.*)'
required: true
default: false
type: boolean
release_tools:
description: 'Release Ballerina Tools (OpenAPI, GraphQL, AsyncAPI, etc.)'
required: true
default: false
type: boolean
release_handwritten_connectors:
description: 'Release Ballerina Handwritten Connectors (ballerinax/mongodb, ballerinax/mysql, etc.)'
required: true
default: false
type: boolean
release_generated_connectors:
description: 'Release Ballerina Generated Connectors (ballerinax/twillio, ballerinax/docusign, etc.)'
required: true
default: false
type: boolean
jobs:
build:
name: Release Ballerina Stdlibs
runs-on: ubuntu-latest
if: github.repository_owner == 'ballerina-platform'
steps:
- uses: actions/checkout@v2
- name: Release Ballerina Libraries
uses: ballerina-platform/[email protected]
with:
args:
run
env:
WORKING_DIR: ./release
BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}
RELEASE_LIBS: ${{ github.event.inputs.release_libs }}
RELEASE_EXTENSIONS: ${{ github.event.inputs.release_extensions }}
RELEASE_TOOLS: ${{ github.event.inputs.release_tools }}
RELEASE_HANDWRITTEN_CONNECTORS: ${{ github.event.inputs.release_handwritten_connectors }}
RELEASE_GENERATED_CONNECTORS: ${{ github.event.inputs.release_generated_connectors }}
BAL_CONFIG_VAR_WORKFLOW: "publish-release.yml"