diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0bc6788 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file