-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.1 KB
/
Copy pathdev-workflow.yml
File metadata and controls
43 lines (39 loc) · 1.1 KB
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
# This is a parent workflow
# It will trigger the reusable workflow and pass the input parameters to it
name: Build, Test and Deploy to DEV
on:
# Triggers the workflow on push
push:
branches:
- develop
# Allows you to run this workflow manually from the Actions tab with input parameters
workflow_dispatch:
inputs:
workerSize:
description: 'Size of Mule Worker'
required: true
type: choice
options:
- '0.1'
- '0.2'
- '0.5'
default: '0.1'
workerCount:
description: 'Number of Mule Workers'
required: true
type: choice
options:
- '1'
- '2'
- '3'
- '4'
default: '1'
jobs:
workflow:
# Make sure to add the right path to the reusable workflow.
# {organization}/{repository}/.github/workflows/{workflow_file_name}.yml@{branch}
uses: muletalks/reusable-workflows/.github/workflows/dev-reusable-workflow.yml@master
secrets: inherit
with:
workerSize: ${{ inputs.workerSize }}
workerCount: ${{ inputs.workerCount }}