generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (34 loc) · 1.05 KB
/
action.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
name: Deploy to Anypoint Exchange
description: Deploy to Anypoint Exchange with Maven
inputs:
connected_app_client_id:
description: Connected app client ID
required: true
connected_app_client_secret:
description: Connected app client secret
required: true
business_group_id:
description: Business group ID
required: true
maven_settings_path:
description: Maven settings file path
required: true
mule_file_path:
description: Mule file path
required: true
mule_runtime_version:
description: Mule runtime version
required: true
default: 4.4.0
runs:
using: composite
steps:
- name: Deploy to Anypoint Exchange
shell: bash
run: |
mvn deploy --settings ${{ inputs.maven_settings_path }} -DskipTests
env:
CONNECTED_APP_CLIENT_ID: ${{ inputs.connected_app_client_id }}
CONNECTED_APP_CLIENT_SECRET: ${{ inputs.connected_app_client_secret }}
MULE_RUNTIME_VERSION: ${{ inputs.mule_runtime_version }}
BUSINESS_GROUP_ID: ${{ inputs.business_group_id }}