Skip to content

Commit 29bf690

Browse files
Remove commented out lines
1 parent 874ddac commit 29bf690

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

restore.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ if [ $(git tag --list "$INPUT_KEY") ]; then
2828
git checkout ${INPUT_KEY} || exit 1
2929
echo "-- Conan Cache: replace CONAN_USER_HOME_SHORT with ${CONAN_USER_HOME_SHORT}"
3030
find .conan/ -name .conan_link -exec perl -pi -e 's=CONAN_USER_HOME_SHORT=$ENV{CONAN_USER_HOME_SHORT}=g' {} +
31-
#echo "::set-output name=cache-hit::1"
3231
hit_cache=1
3332
else
3433
# If it doesn't check if fallback exits
@@ -45,14 +44,12 @@ else
4544
git lfs pull || exit 1
4645
echo "-- Conan Cache: replace CONAN_USER_HOME_SHORT with ${CONAN_USER_HOME_SHORT}"
4746
find .conan/ -name .conan_link -exec perl -pi -e 's=CONAN_USER_HOME_SHORT=$ENV{CONAN_USER_HOME_SHORT}=g' {} +
48-
#echo "::set-output name=cache-hit::2"
4947
hit_cache=2
5048
else
5149
# If it doesn't - create the branch and set cache_hit to 0
5250
echo "-- Conan Cache: Creating fallback key $FALLBACK_KEY"
5351
git checkout -b ${FALLBACK_KEY} || exit 1
5452
git push -u origin ${FALLBACK_KEY} || exit 1
55-
#echo "::set-output name=cache-hit::0"
5653
hit_cache=0
5754
fi
5855
fi

0 commit comments

Comments
 (0)