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 efcf472 commit 6c5057fCopy full SHA for 6c5057f
.github/workflows/ci.yml
@@ -192,8 +192,8 @@ jobs:
192
python-version: "3.12"
193
- name: "Set environment variables"
194
run: |
195
- RUNNER_NUM=$(hostname | grep -o '[0-9][0-9]' | sed 's/^0*//')
196
- echo PYTEST_DEBUG_TEMPROOT=/var/lib/github/ghrunner_${RUNNER_NUM}/_temp >> $GITHUB_ENV
+ RUNNER_NAME=$(echo "${{ runner.name }}" | grep -o 'ghrunner[0-9]\+' | sed 's/ghrunner\([0-9]\+\)/ghrunner_\1/')
+ echo PYTEST_DEBUG_TEMPROOT=/var/lib/github/${RUNNER_NAME}/_temp >> $GITHUB_ENV
197
- name: "Setup environment"
198
199
pipx install poetry==1.8.5
0 commit comments