Skip to content

Commit

Permalink
GitHub Actions: use sudo for privilege-required apt operations
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Aug 9, 2024
1 parent 4abb0d6 commit 9b42f77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_GIT_BRANCH: ${{ github.ref }}
steps:
- run: apt update
- run: apt install -y docker-compose-v2
- run: sudo apt update
- run: sudo apt install -y docker-compose-v2
- uses: actions/checkout@v4
- name: Build containers
run: docker compose -f ./docker-compose.yml -f ./docker-compose.ci.yml build --parallel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- run: apt update
- run: apt install -y docker-compose-v2
- run: sudo apt update
- run: sudo apt install -y docker-compose-v2
- uses: actions/checkout@v4
- name: Build containers
run: docker compose -f ./docker-compose.yml -f ./docker-compose.ci.yml build --parallel
Expand Down

0 comments on commit 9b42f77

Please sign in to comment.