mirror of
https://github.com/mandiant/capa.git
synced 2026-01-08 11:21:23 -08:00
ci: build standalone exe upon release
This commit is contained in:
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -1,10 +1,8 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
# TODO: change to "release"
|
||||
push:
|
||||
# TODO: change to `master
|
||||
branches: [ fix-178 ]
|
||||
release: [created, edited]
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -43,4 +41,11 @@ jobs:
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.asset_name }}
|
||||
path: dist/${{ matrix.artifact_name }}
|
||||
path: dist/${{ matrix.artifact_name }}
|
||||
- name: Upload binaries to GH Release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.CAPA_TOKEN }}
|
||||
file: dist/${{ matrix.artifact_name }}
|
||||
asset_name: ${{ matrix.asset_name }}
|
||||
tag: ${{ github.ref }}
|
||||
Reference in New Issue
Block a user