aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml2
-rwxr-xr-xrun2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3984c6e..7b9c471 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -30,7 +30,7 @@ jobs:
uses: actions/cache@v1
with:
path: cross
- key: cached-toolchain
+ 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 47ac40c..21938fa 100755
--- a/run
+++ b/run
@@ -85,7 +85,7 @@ make_cross() {
fi
# Remove sources
- rm -rf "${dir}/src/"
+ rm -rf "${DIR}/src/"
cd "${DIR}/.."
fi