Skip to content

Commit

Permalink
Cache msp430-gcc install in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpalladino committed Sep 23, 2024
1 parent 55147fb commit 171346a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

# use cache for now instead of custom docker image since it's easier
- name: Set Up Cache for MSP430-GCC
id: cache-msp430
uses: actions/cache@v3
with:
path: /opt/msp430-gcc
key: msp430-gcc
restore-keys: |
msp430-gcc
- name: Install MSP430-GCC
if: steps.cache-msp430.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full srecord
Expand Down

0 comments on commit 171346a

Please sign in to comment.