summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarvin Borner2021-07-04 22:34:37 +0200
committerMarvin Borner2021-07-04 22:34:37 +0200
commit0c4427cada337b4a80e1ec0a16be08b75412321b (patch)
tree54ea0b1ad005bfadd5f8ce523447e471e82ce593
parentc7047fa8ff78a7ee9de9e48e9310fd5afbc264a3 (diff)
Fixed cache
-rw-r--r--.github/workflows/build.yml2
-rwxr-xr-xrun3
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d674b81..13c3221 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,7 +16,7 @@ jobs:
uses: actions/cache@v1
with:
path: cross
- key: toller-compiler
+ key: cross-compiler
- name: Build cross compiler
if: steps.cache-cross.outputs.cache-hit != 'true'
run: sh run cross -y
diff --git a/run b/run
index 6e48550..b9a38f6 100755
--- a/run
+++ b/run
@@ -55,6 +55,9 @@ build_cross() {
$MAKE -j $($NPROC) all-gcc all-target-libgcc
$MAKE install-gcc install-target-libgcc
+ # Remove sources
+ rm -rf "${DIR}/src/"
+
cd "${DIR}/.."
fi
}