Add caching of the installed cross binary
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
if [ -f "$RUNNER_TEMP/cross" ]; then
|
||||
echo "build-command=$RUNNER_TEMP/cross" >> $GITHUB_OUTPUT
|
||||
CROSS_DIR="$1"
|
||||
if [ -f "$CROSS_DIR/cross" ]; then
|
||||
echo "build-command=$CROSS_DIR/cross" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "build-command=cargo" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user