Skip to content

Commit accf0c3

Browse files
committed
ci(github): properly expose installed python version into setup outputs
1 parent da14b07 commit accf0c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
type: string
77
default: 3.12
88
outputs:
9-
'python-version': ${{ inputs.python }}
9+
'python-version': ${{ steps.python.outputs.python-version }}
1010
runs:
1111
using: "composite"
1212
steps:
@@ -32,6 +32,7 @@ runs:
3232
${{ runner.os }}-poetry-
3333
3434
- uses: actions/setup-python@v6
35+
id: python
3536
with:
3637
python-version: ${{ inputs.python }}
3738

0 commit comments

Comments
 (0)