Packages must be installed always, regardless of cache
Change-Id: Ib9bd4b689013cf43624898f4f673ed17aa4f1167 Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
This commit is contained in:
parent
924f48bab2
commit
1b71eab1a5
|
@ -20,6 +20,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install device-tree-compiler build-essentials
|
||||
|
||||
- name: Cache dependencies
|
||||
id: cache-deps
|
||||
uses: actions/cache@v3
|
||||
|
@ -37,12 +42,6 @@ jobs:
|
|||
name: Install Toolchain
|
||||
run: tar zxf /tmp/toolchain.tar.gz --strip-components=1 -C /opt/riscv
|
||||
|
||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||
name: Install build dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install build-essential device-tree-compiler
|
||||
|
||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||
name: Download Spike source
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue