Skip to content

Commit c70eb91

Browse files
committed
github | Fix publish job to publish more than one kind of golang version
1 parent 333c3e2 commit c70eb91

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
publish:
1010
strategy:
1111
matrix:
12-
go-version: [ "1.13.x", "1.14.x" ]
12+
go-version: [ "1.13.x" ]
1313
os: [ ubuntu-latest ]
1414
runs-on: ${{ matrix.os }}
1515
steps:
@@ -18,6 +18,17 @@ jobs:
1818
with:
1919
fetch-depth: 1
2020

21+
- name: Create Release
22+
id: create_release
23+
uses: actions/create-release@v1
24+
env:
25+
GITHUB_TOKEN: ${{ github.token }}
26+
with:
27+
tag_name: ${{ github.ref }}
28+
release_name: Release ${{ github.ref }}
29+
draft: false
30+
prerelease: true
31+
2132
- name: Set up Go
2233
uses: actions/setup-go@v2
2334
with:

0 commit comments

Comments
 (0)