Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
noam987 authored Jun 28, 2024
1 parent dc2311b commit 34147a1
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:

- name: Retrieve gcc-arm-embedded from cache
id: cache-gcc
uses: actions/cache/restore@v4
uses: actions/cache@v4
with:
path:
$(pwd)/gcc-arm-none-eabi-${{env.TOOLCHAIN_UPDATE}}
/gcc-arm-none-eabi-${{env.TOOLCHAIN_UPDATE}}
key:
gcc-arm-none-eabi-${{env.TOOLCHAIN_UPDATE}}

Expand All @@ -38,15 +38,7 @@ jobs:
run: |
curl -LSso toolchain.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${TOOLCHAIN_UPDATE}/gcc-arm-none-eabi-${TOOLCHAIN_UPDATE}-x86_64-linux.tar.bz2"
tar -xjvf toolchain.tar.bz2
- name: Upload gcc-arm-embedded to cache
if: steps.cache-gcc.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path:
gcc-arm-none-eabi-${{env.TOOLCHAIN_UPDATE}}
key:
gcc-arm-none-eabi-${{env.TOOLCHAIN_UPDATE}}

- name: Add gcc-arm-embedded to path
run: echo "$(pwd)/gcc-arm-none-eabi-${TOOLCHAIN_UPDATE}/bin" >> $GITHUB_PATH

Expand Down

0 comments on commit 34147a1

Please sign in to comment.