generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 1.33 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
44
45
46
47
48
49
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A job to say hello
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: Hello world action step
continue-on-error: true
uses: ./ # Uses an action in the root directory
id: hello
with:
resource: 'configuration'
method: 'create'
flags: '-n,config-name,-i,ciAction,-s,csAction,-a,aAction,-e,eAction'
- name: Get the output time
continue-on-error: true
run: echo "hello ${{ toJson(steps.hello.outputs.COMMAND_RESPONSE)}}"
- name: Set Variable Output
continue-on-error: true
id: newVar
run:
echo "::set-output name=variable_value::${{
toJson(steps.hello.outputs.COMMAND_RESPONSE) }}"
- name: Display Variable Value
run: echo "The variable is ${{ steps.newVar.outputs.variable_value }}"
- name: List ls
run: ls -all
- name: List Flagship
run: ls flagship
- name: List Flagship internal
run: ls .flagship
- name: Run flagship version
run: flagship/1.0/flagship version
- name: Run flagship configuration
run: flagship/1.0/flagship configuration list