mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-21 23:29:38 +00:00
github: automatically attach binaries to the release
Close #3001. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
b47a891b9e
commit
778ddfb277
1 changed files with 6 additions and 0 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -76,6 +76,12 @@ jobs:
|
|||
path: ./bin/neo-go*
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Attach binary to the release as an asset
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
run: gh release upload ${{ github.event.release.tag_name }} ./bin/neo-go-${{ matrix.os.bin-name }}-${{ matrix.arch }}${{ (matrix.os.bin-name == 'windows' && '.exe') || '' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
build_image:
|
||||
needs: build_cli
|
||||
name: Build and push docker image
|
||||
|
|
Loading…
Reference in a new issue