Skip to content

Commit

Permalink
Create release artifact workflow (#16)
Browse files Browse the repository at this point in the history
* Create release artifact workflow file

* Fix directories

* Remove unused event types

* Limit building to tagged commits

---------

Co-authored-by: naomi <[email protected]>
  • Loading branch information
caffeinatedpixel and caffeinatedpixel authored Apr 18, 2023
1 parent 79c166e commit 4be17b0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Generate and upload a release assets

on: push

jobs:
upload:
if: startsWith(github.ref, 'refs/tags/')
name: Upload Artifacts
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: Zeek-Transport/shell-lib/docker/install_docker.sh
- run: Zeek-Transport/installer/generate_installer.sh
- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: Zeek-Transport/installer/Zeek-Transport.tar

0 comments on commit 4be17b0

Please sign in to comment.