File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
-
11
10
build :
12
11
runs-on : ubuntu-latest
13
12
steps :
14
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v3
15
14
16
- - name : Set up Go
17
- uses : actions/setup-go@v4
18
- with :
19
- go-version : ' 1.19'
15
+ - name : Set up Go
16
+ uses : actions/setup-go@v4
17
+ with :
18
+ go-version : ' 1.19'
20
19
21
- - name : Build
22
- run : go build -v ./...
20
+ - name : Build
21
+ run : go build -v ./...
23
22
24
- - name : Test
25
- run : go test -v ./...
23
+ - name : Test
24
+ run : go test -v ./...
26
25
27
26
release :
28
27
name : Release
29
28
needs : build
30
29
runs-on : ubuntu-latest
31
30
steps :
32
- - name : Check out code
33
- uses : actions/checkout@v2
31
+ - uses : actions/checkout@v3
34
32
35
33
- name : Create Release
36
34
id : create_release
37
35
uses : actions/create-release@v1
38
36
env :
39
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
38
with :
41
- tag_name : ${{ github.run_id }}
42
- release_name : Release ${{ github.run_id }}
39
+ tag_name : ' run- ${{ github.run_id }}'
40
+ release_name : Release run- ${{ github.run_id }}
43
41
draft : false
44
42
prerelease : false
You can’t perform that action at this time.
0 commit comments