generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 2
82 lines (77 loc) · 2.96 KB
/
ci.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Continuous Integration
on:
workflow_dispatch:
inputs:
input-json:
description: JSON of inputs
type: string
default: '{}'
required: true
permissions:
contents: read
jobs:
test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test Local Action
id: test-action
uses: ./
with:
# Source Inputs
source-domain: ${{ fromJson(inputs.input-json).source-domain }}
source-project-id:
${{ fromJson(inputs.input-json).source-project-id }}
source-resources: ${{ fromJson(inputs.input-json).source-resources }}
# Flow Inputs
source-flow-names:
${{ fromJson(inputs.input-json).source-flow-names }}
source-flow-stage:
${{ fromJson(inputs.input-json).source-flow-stage }}
# Connector Inputs
source-connector-org-id:
${{ fromJson(inputs.input-json).source-connector-org-id }}
source-connector-group-ids:
${{ fromJson(inputs.input-json).source-connector-group-ids }}
source-connector-ids:
${{ fromJson(inputs.input-json).source-connector-ids }}
# Model Inputs
source-model-ids: ${{ fromJson(inputs.input-json).source-model-ids }}
# Template Inputs
source-template-ids:
${{ fromJson(inputs.input-json).source-template-ids }}
source-template-org-id:
${{ fromJson(inputs.input-json).source-template-org-id }}
# Webhook Inputs
source-webhook-ids:
${{ fromJson(inputs.input-json).source-webhook-ids }}
# Widget Inputs
source-widget-ids:
${{ fromJson(inputs.input-json).source-widget-ids }}
# Source Auth
source-account-username:
${{ fromJson(inputs.input-json).source-account-username }}
source-account-password:
${{ fromJson(inputs.input-json).source-account-password }}
# Destination Domain
destination-domain:
${{ fromJson(inputs.input-json).destination-domain }}
destination-project-id:
${{ fromJson(inputs.input-json).destination-project-id }}
# Flow Inputs
destination-flow-stage:
${{ fromJson(inputs.input-json).destination-flow-stage }}
# Connector Inputs
destination-connector-org-id:
${{ fromJson(inputs.input-json).destination-connector-org-id }}
# Template Inputs
destination-template-org-id:
${{ fromJson(inputs.input-json).destination-template-org-id }}
# Destination Auth
destination-account-username:
${{ fromJson(inputs.input-json).destination-account-username }}
destination-account-password:
${{ fromJson(inputs.input-json).destination-account-password }}