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:
Jan Matyas 2023-02-21 18:04:40 +01:00
parent 924f48bab2
commit 1b71eab1a5
1 changed files with 5 additions and 6 deletions

View File

@ -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: |