Skip to content

Commit

Permalink
Run "apt-get update" before packages installation
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov committed Mar 13, 2024
1 parent 39e5327 commit 821c7b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:

- name: Setup FPM
run: |
sudo apt-get update
sudo apt-get install ruby-dev build-essential
sudo gem i fpm -f
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Setup build environment
run: |
sudo apt-get update
sudo apt-get install devscripts build-essential lintian dput dh-make python3-paramiko
echo -e "${{ secrets.GPG_SIGNING_KEY }}" | gpg --import
# workaround for expired key until it gets updated
Expand Down Expand Up @@ -123,6 +124,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Setup build environment
run: |
sudo apt-get update
sudo apt-get install devscripts build-essential lintian dput dh-make python3-paramiko
echo -e "${{ secrets.GPG_SIGNING_KEY }}" | gpg --import
# workaround for expired key until it gets updated
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests-and-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
go-version: '1.21.x'

- name: Install protoc
run: sudo apt install -y protobuf-compiler
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Unit tests and linters
run: |
Expand Down

0 comments on commit 821c7b0

Please sign in to comment.