Skip to content

Commit cb2f6e5

Browse files
authored
ci(autoupdate): fix get-python-version step (#3)
third time's a charm
1 parent 03a2ae4 commit cb2f6e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/autoupdate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: Fetch latest Python 3.12 release
1919
id: get-python-version
2020
run: |
21-
python-version=$(curl -s https://www.python.org/ftp/python/ | grep -oP '3\.12\.\d+/' | uniq | sort -V | tail -n 1 | tr -d '/')
21+
python_version=$(curl -s https://www.python.org/ftp/python/ | grep -oP '3\.12\.\d+/' | uniq | sort -V | tail -n 1 | tr -d '/')
2222
23-
echo "python3.12: $python-version"
23+
echo "python3.12: $python_version"
2424
25-
echo ${python-version} > .python-version
26-
echo "python-version=${python-version}" >> $GITHUB_OUTPUT
25+
echo ${python_version} > .python-version
26+
echo "python-version=${python_version}" >> $GITHUB_OUTPUT
2727
2828
- name: Detect changes
2929
id: git-diff

0 commit comments

Comments
 (0)