You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,20 @@ jobs:
137
137
```
138
138
More details on PyPy syntax and examples of using preview / nightly versions of PyPy can be found in the [Available versions of PyPy](#available-versions-of-pypy) section.
139
139
140
+
An output is available with the absolute path of the python interpreter executable if you need it:
141
+
```yaml
142
+
jobs:
143
+
build:
144
+
runs-on: ubuntu-latest
145
+
steps:
146
+
- uses: actions/checkout@v3
147
+
- uses: actions/setup-python@v3
148
+
id: cp310
149
+
with:
150
+
python-version: "3.10"
151
+
- run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
152
+
```
153
+
140
154
# Getting started with Python + Actions
141
155
142
156
Check out our detailed guide on using [Python with GitHub Actions](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-python-with-github-actions).
0 commit comments