Skip to content

Commit

Permalink
workflows: build: Always install dependencies for 'build-upstream'
Browse files Browse the repository at this point in the history
When the cache is hit the installation of the packages are skipped,
which is fine for most of them, but it also means things like "make" is
not installed. The safest is to just always install the packages.

Signed-off-by: Louis Peens <[email protected]>
Reviewed-by: Ryno Swart <[email protected]>
  • Loading branch information
louis-peens committed Dec 5, 2024
1 parent f5071cb commit 518c9d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,7 @@ jobs:
# Need invalidate the cache when local_defconfig changes.
key: ${{ env.cache-name }}-${{ env.CACHE_ID }}-on-ubuntu-${{ hashFiles('./.github/data/local_defconfig') }}

- name: Set Environment (Not Cached)
if: steps.header-cache.outputs.cache-hit != 'true'
- name: Set packages to install
run: |
EXTRA_DEP+=" bc"
EXTRA_DEP+=" bison"
Expand Down

0 comments on commit 518c9d1

Please sign in to comment.