Skip to content

Commit

Permalink
Add caching of toolchain to release script
Browse files Browse the repository at this point in the history
  • Loading branch information
obycode committed Sep 14, 2020
1 parent a573b01 commit 8ea6ba1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ jobs:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Get the toolchain
- name: Cache the toolchain
id: cache-toolchain
uses: actions/cache@v2
env:
cache-name: riscv-toolchain
with:
path: /opt/riscv
key: 10.1.0
- name: Build the toolchain
if: steps.cache-toolchain.outputs.cache-hit != 'true'
run: |
sudo apt install gawk texinfo zlib1g-dev flex bison
cd /tmp
Expand Down

0 comments on commit 8ea6ba1

Please sign in to comment.