We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e461908 commit 7c0c444Copy full SHA for 7c0c444
.github/workflows/restore.yml
@@ -81,14 +81,13 @@ jobs:
81
- name: Find backup file version
82
id: file
83
run: |
84
- version=${{ inputs.version }}
85
- size=${{ inputs.size }}
+ version="${{ inputs.version }}"
+ size="${{ inputs.size }}"
86
V3_8_COMPATIBLE="3.6 3.7 3.8 3.9 3.10"
87
-
88
echo "$V3_8_COMPATIBLE" | tr " " '\n' | grep -F -q -x "$version"
89
90
- if [ $? -eq 0 ]; then
91
- echo "Version $file_version is acceptable"
+ exit_code="$?"
+ if [ "$exit_code" -eq "0" ]; then
+ echo "Version $version is acceptable"
92
file_version=3.8
93
echo "version=3.8" >> $GITHUB_OUTPUT
94
echo "name=v$file_version-$size.tar.gz" >> $GITHUB_OUTPUT
0 commit comments