Skip to content

Commit

Permalink
github: Run 'apt-get update' before 'apt-get install'
Browse files Browse the repository at this point in the history
Ensure we have an up-to-date version of the package index before trying
to install packages. Otherwise we may try to install an outdated version
of something that has been deleted from Ubuntu's servers.

Signed-off-by: Jason Gerecke <[email protected]>
  • Loading branch information
jigpu committed Aug 29, 2023
1 parent 9da885b commit 6f75654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gcc-9-plugin-dev libelf-dev
gcc -print-file-name=plugin
Expand Down

0 comments on commit 6f75654

Please sign in to comment.