Skip to content

Commit 16e659f

Browse files
Get filename
1 parent 0e3ee76 commit 16e659f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/restore.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ jobs:
7979
file_version="{{ inputs.version }}"
8080
V3_8_COMPATIBLE="3.6 3.7 3.8 3.9 3.10"
8181
82-
echo "$V3_8_COMPATIBLE" | tr " " '\n' | grep -F -q -x "{{ inputs.version }}"
82+
echo "$V3_8_COMPATIBLE" | tr " " '\n' | grep -F -q -x "$file_version"
8383
8484
if [ $? -eq 0 ]; then
85-
echo "Version $version is acceptable"
85+
echo "Version $file_version is acceptable"
8686
echo "version=3.8" >> $GITHUB_OUTPUT
8787
else
88-
echo "Version $version is not acceptable"
88+
echo "Version $file_version is not acceptable"
8989
exit 1
9090
fi
9191

0 commit comments

Comments
 (0)