Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 5b829d5

Browse files
committed
refine github actions for releasing
1 parent 0cb9e49 commit 5b829d5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: build binary
2+
name: run full build
33

44
on:
55
push:
@@ -38,7 +38,8 @@ jobs:
3838
path: ./processor_reducer
3939
name: processor_reducer
4040
if-no-files-found: error
41-
push:
41+
42+
release:
4243
name: create and publish release
4344
runs-on: ubuntu-latest
4445
needs: build
@@ -56,6 +57,11 @@ jobs:
5657
draft: true
5758
prerelease: false
5859

60+
- name: get artifact from standard build
61+
uses: actions/download-artifact@v2
62+
with:
63+
name: processor_reducer
64+
5965
- name: upload release asset
6066
uses: actions/upload-release-asset@v1
6167
env:

0 commit comments

Comments
 (0)