-
Notifications
You must be signed in to change notification settings - Fork 25
56 lines (52 loc) · 1.58 KB
/
push_pull_request_build.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
53
54
55
56
name: Ballerina build on PR and Merge
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Consuming Services Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build consuming_services
- name: Build Graphql API Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build graphql_api
- name: Ballerina Generate gRPC
uses: ballerina-platform/ballerina-action@master
with:
args:
grpc --input ./grpc_api/descriptor_record_store.proto --output ./grpc_api/
- name: Build GRPC API Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build grpc_api
- name: Build Kafka Consumer Producer Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build kafka_consumer_producer
- name: Build RESTful API Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build restful_api
- name: Build Working With Data Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build working_with_data
- name: Build Working With Databases Package
uses: ballerina-platform/ballerina-action@master
with:
args:
build working_with_databases