Skip to content

Commit

Permalink
chore: Update Snort build workflow to set permissions for work direct…
Browse files Browse the repository at this point in the history
…ory and clean up work directory
  • Loading branch information
bengo237 committed Aug 26, 2024
1 parent e8a00c3 commit ada2b79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/package-snort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set permissions for work directory
run: sudo mkdir -p /work && sudo chown -R $USER /work
run: sudo chmod -R 777 /work

- name: Clean up work directory
run: sudo rm -rf /work/*

- name: Install dependencies and build Snort
run: |
Expand Down
2 changes: 2 additions & 0 deletions scripts/snort3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ sudo mv ~/go/bin/protoc-gen-go-grpc /usr/local/bin/
# Create working directories
WORK_DIR=/work
sudo mkdir -p $WORK_DIR
sudo chmod 777 $WORK_DIR


# Install libdaq
cd $WORK_DIR
Expand Down

0 comments on commit ada2b79

Please sign in to comment.