generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 963 Bytes
/
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
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
uses: ./ # Uses an action in the root directory
id: hello
with:
resource: 'configuration'
method: 'create'
flags: "-i,ciAction,-s,csAction,-a,aAction,-e,eAction"
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.result }}"
- name: Hello world action ste
uses: ./ # Uses an action in the root directory
id: hello1
with:
resource: 'configuration'
method: 'list'
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello1.outputs.result }}"