Skip to content

Commit 20e714e

Browse files
committed
Github output fix
1 parent 5bce5d4 commit 20e714e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Get full Python version
2020
id: full-python-version
21-
run: echo "version=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")" >> "$GITHUB_OUTPUT"
21+
run: python -c "import sys; print(f\"version={'-'.join(str(v) for v in sys.version_info)}\")" >> "$GITHUB_OUTPUT"
2222

2323
- name: Set up poetry
2424
uses: Gr1N/setup-poetry@v9

.github/workflows/integration-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Get full Python version
3232
id: full-python-version
33-
run: echo "version=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")" >> "$GITHUB_OUTPUT"
33+
run: python -c "import sys; print(f\"version={'-'.join(str(v) for v in sys.version_info)}\")" >> "$GITHUB_OUTPUT"
3434

3535
- name: Set up poetry
3636
uses: Gr1N/setup-poetry@v9

.github/workflows/python-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Get full Python version
2828
id: full-python-version
29-
run: echo "version=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")" >> "$GITHUB_OUTPUT"
29+
run: python -c "import sys; print(f\"version={'-'.join(str(v) for v in sys.version_info)}\")" >> "$GITHUB_OUTPUT"
3030

3131
- name: Set up poetry
3232
uses: Gr1N/setup-poetry@v9
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Get full Python version
8080
id: full-python-version
81-
run: echo "version=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")" >> "$GITHUB_OUTPUT"
81+
run: python -c "import sys; print(f\"version={'-'.join(str(v) for v in sys.version_info)}\")" >> "$GITHUB_OUTPUT"
8282

8383
- name: Set up poetry
8484
uses: Gr1N/setup-poetry@v9

0 commit comments

Comments
 (0)