forked from LV-APT/lvCICD
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.24 KB
/
Test Build Envrionment.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
name: Test Build Environment
# Controls when the workflow will run
on: [push,workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lvCICD:
# The type of runner that the job will run on
name: Test lvCICD
runs-on: [self-hosted]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: CloneRepo
uses: actions/[email protected]
- id: step1
run: echo "test=hello" >> $GITHUB_OUTPUT
- id: step2
run: echo "test=world" >> $GITHUB_OUTPUT
- id: create-step
run: echo "abc=a b c" >> $GITHUB_OUTPUT
- name: use output
run:
echo ${{ steps.step1.outputs.test }}
echo ${{ steps.step2.outputs.test }}
echo ${{ steps.create-step.outputs.abc }}
- name: TestEnvironment
id: lvEcho
uses: NEVSTOP-LAB/lvCICD@main
with:
Operation: lvEcho
Parameter1: "line1"
Parameter2: "line2"
Parameter3: "line3"
- name: Check output of previous step
run:
echo ${{ steps.lvEcho.outputs.Result }}