Skip to content

Commit 597b525

Browse files
Fix goreleaser github action
1 parent 69f12a3 commit 597b525

3 files changed

Lines changed: 6 additions & 20 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
tags:
55
- v*
66
branches:
7-
- master
87
- main
98
pull_request:
109
jobs:

.github/workflows/releaser.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Set up Go
13+
uses: actions/setup-go@v2
14+
with:
15+
go-version: 1.20.x
1216
- name: Checkout
13-
uses: actions/checkout@v4
17+
uses: actions/checkout@v2
1418
with:
1519
fetch-depth: 0
16-
- name: Set up Go
17-
uses: actions/setup-go@v4
18-
with:
19-
go-version: 1.20
2020
- name: Cache-Go
2121
uses: actions/cache@v1
2222
with:
@@ -34,6 +34,6 @@ jobs:
3434
with:
3535
distribution: goreleaser
3636
version: latest
37-
args: release --rm-dist
37+
args: release --clean
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)