feat: add pcap depencies to pipeline #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: CI | |
jobs: | |
release_binaries: | |
name: Release Binaries | |
if: startsWith(github.ref, 'refs/tags/v') | |
runs-on: ubuntu-latest | |
steps: | |
- name: update apt | |
- run: sudo apt update | |
- name: install pcap | |
- run: sudo apt install -y libpcap-dev | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: goreleaser | |
if: success() | |
uses: docker://goreleaser/goreleaser:latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: release --config .github/goreleaser.yml |