generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (46 loc) · 1.64 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
50
51
52
53
54
55
56
57
58
59
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: Configuration
uses: ./ # Uses an action in the root directory
id: config
with:
create-configuration: |
name: configuration-name
client-id: ${{secrets.CLIENT_ID}}
client-secret: ${{secrets.CLIENT_SECRET}}
account-id: ${{secrets.ACCOUNT_ID}}
account-environment_id: ${{secrets.ACCOUNT_ENV_ID}}
use-configuration: |
name: configuration-name
list-flag: |
output-format: json
- name: Get previous configuration step response
continue-on-error: true
run: echo "${{ steps.config.outputs.COMMAND_RESPONSE}}"
- name: List ls
run: ls -all
- name: List ls runner
run: ls /home/runner
- name: List Flagship
run: ls flagship
- name: Run flagship version
run: flagship/1.0.2/flagship version
- name: mkdir
run: mkdir /home/runner/.flagship
- name: mkdir
run: mkdir /home/runner/.flagship/configurations
- name: Run flagship configuration
working-directory: /home/runner/work/flagship-action/flagship-action
run:
flagship/1.0.2/flagship configuration create -n config-name-1 -i
ciAction -s csAction -a aAction -e eAction
- name: Run flagship configuration
run: flagship/1.0.2/flagship configuration list