Skip to content

Commit 284d2a6

Browse files
committed
.github: improve ui of release workflow
1 parent 6c99fc4 commit 284d2a6

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
1-
name: goreleaser
2-
31
on:
42
push:
53
tags:
64
- '*'
7-
5+
name: Release
86
jobs:
97
goreleaser:
108
runs-on: ubuntu-latest
119
steps:
12-
- uses: actions/cache@v2
13-
with:
14-
path: ~/go/pkg/mod
15-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
16-
restore-keys: |
17-
${{ runner.os }}-go-
18-
-
19-
name: Checkout
10+
- uses: actions/cache@v2
11+
with:
12+
path: ~/go/pkg/mod
13+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
14+
restore-keys: |
15+
${{ runner.os }}-go-
16+
- name: Checkout
2017
uses: actions/checkout@v2
2118
with:
2219
fetch-depth: 0
23-
-
24-
name: Set up Go
20+
- name: Set up Go
2521
uses: actions/setup-go@v2
2622
with:
2723
go-version: 1.14.4
28-
-
29-
name: Run GoReleaser
24+
- name: Run GoReleaser
3025
uses: goreleaser/goreleaser-action@v2
3126
with:
3227
version: latest

0 commit comments

Comments
 (0)