Skip to content

Commit

Permalink
chore: Update Snort build workflow to remove go github action package
Browse files Browse the repository at this point in the history
  • Loading branch information
bengo237 committed Aug 26, 2024
1 parent 69c3d7e commit 272f3bd
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/package-snort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set permissions for download directory
run: |
mkdir -p /work/downloads
sudo chmod 777 /work/downloads
- name: Download libdaq
run: |
wget -P /work/downloads https://github.com/snort3/libdaq/archive/refs/tags/v3.0.15.tar.gz
- name: Install dependencies and build Snort
run: |
chmod +x ./scripts/snort3.sh
Expand All @@ -46,4 +37,4 @@ jobs:
curl -u ${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }} \
-H "Content-Type: $(file -b --mime-type /work/snort3-${SNORT_VER}/build/snort3_${SNORT_VER}_amd64.deb)" \
--data-binary @/work/snort3-${SNORT_VER}/build/snort3_${SNORT_VER}_amd64.deb \
"https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/latest/assets?name=snort3_${SNORT_VER}_amd64.deb"
"https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/latest/assets?name=snort3_${SNORT_VER}_amd64.deb"

0 comments on commit 272f3bd

Please sign in to comment.