File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
.github/actions/build-action Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : ' build JMS tool'
2
2
description : ' Build JMS tool'
3
3
inputs :
4
- who-to-greet : # id of input
5
- description : ' Who to greet '
4
+ go-version : # id of input
5
+ description : ' go version '
6
6
required : true
7
- default : ' World'
7
+ default : ' 1.14'
8
+ go-os :
9
+ description : ' build os'
10
+ required : true
11
+ default : ' linux'
12
+ go-arch :
13
+ description : ' build arch'
14
+ required : true
15
+ default : ' amd64'
8
16
outputs :
9
17
time : # id of output
10
18
description : ' The time we greeted you'
11
19
runs :
12
20
using : ' docker'
13
21
image : ' Dockerfile'
14
22
args :
15
- - ${{ inputs.who-to-greet }}
23
+ - ${{ inputs.go-version }}
24
+ - ${{ inputs.go-os }}
25
+ - ${{ inputs.go-arch }}
Original file line number Diff line number Diff line change 1
1
#! /bin/sh -l
2
2
3
- echo " Hello $1 "
3
+ echo " 当前目录: ${pwd} "
4
+ ls " ${pwd} "
5
+ echo " Hello $1 $2 $3 "
4
6
time=$( date)
5
7
echo " ::set-output name=time::$time "
You can’t perform that action at this time.
0 commit comments