File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,19 +76,19 @@ jobs:
76
76
- name : Find backup file version
77
77
id : file
78
78
run : |
79
- file_version =${{ inputs.version }}
79
+ version =${{ inputs.version }}
80
80
size=${{ inputs.size }}
81
- echo "$file_version"
82
81
V3_8_COMPATIBLE="3.6 3.7 3.8 3.9 3.10"
83
82
84
- echo "$V3_8_COMPATIBLE" | tr " " '\n' | grep -F -q -x "$file_version "
83
+ echo "$V3_8_COMPATIBLE" | tr " " '\n' | grep -F -q -x "$version "
85
84
86
85
if [ $? -eq 0 ]; then
87
86
echo "Version $file_version is acceptable"
87
+ file_version=3.8
88
88
echo "version=3.8" >> $GITHUB_OUTPUT
89
89
echo "name=v$file_version-$size.tar.gz" >> $GITHUB_OUTPUT
90
90
else
91
- echo "Version $file_version is not acceptable"
91
+ echo "Version $version is not acceptable"
92
92
exit 1
93
93
fi
94
94
You can’t perform that action at this time.
0 commit comments