Skip to content

Commit cf4391c

Browse files
committed
CI: Create cache-bin when downloading gcc
1 parent ebc6f18 commit cf4391c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Install arm-none-eabi-gcc and qemu
6262
if: steps.cache-bin.outputs.cache-hit != 'true'
6363
run: |
64-
mkdir gcc
64+
mkdir -p gcc ~/cache-bin
6565
curl -L https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update \
6666
| tar --strip-components=1 -C gcc -xj
6767
cp gcc/bin/* ~/cache-bin
@@ -73,7 +73,6 @@ jobs:
7373
- name: Copy installed binaries to cache directory
7474
if: steps.cache-bin.outputs.cache-hit != 'true'
7575
run: |
76-
mkdir ~/cache-bin
7776
cp ~/.cargo/bin/* ~/cache-bin
7877
7978
- name: Put new bin directory into path

0 commit comments

Comments
 (0)