generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.26 KB
/
main.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
on: [push]
jobs:
test_flagship_cli:
runs-on: ubuntu-latest
name: A job Test Flagship CLI in CI
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: Check CLI version
uses: ./ # Uses an action in the root directory
id: version
with:
resource: version
- name: Get previous version step response
run: echo "${{steps.version.outputs.COMMAND_RESPONSE}}"
- name: Configuration
uses: ./ # Uses an action in the root directory
id: config
with:
resource: 'configuration'
method: 'create'
flags: '-n,config-name,-i,ciAction,-s,csAction,-a,aAction,-e,eAction'
- name: Get previous configurationstep response
continue-on-error: true
run: echo "${{ steps.config.outputs.COMMAND_RESPONSE}}"
- name: List Configurations
uses: ./ # Uses an action in the root directory
id: list-config
with:
resource: 'configuration'
method: 'list'
- name: Get previous configurationstep response
continue-on-error: true
run: echo "${{ steps.list-config.outputs.COMMAND_RESPONSE}}"