Skip to content

Commit

Permalink
GhA: build: update before apt-get install
Browse files Browse the repository at this point in the history
Fix pre-merge build workflow: on installing `inxi` package
during the build step `Print runner system info`, `apt-get update`
needs to be run before `apt-get install` to make sure apt index is
not stale.

Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
  • Loading branch information
henrirosten authored and brianmcgillion committed Feb 21, 2024
1 parent c6551a6 commit 4b892d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
echo "Available storage after cleanup:"
df -h
- name: Print runner system info
run: sudo apt-get install -y inxi; sudo inxi -c0 --width -1 --basic --memory-short
run: sudo apt-get update; sudo apt-get install -y inxi; sudo inxi -c0 --width -1 --basic --memory-short
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 4b892d0

Please sign in to comment.