Skip to content

Commit 5e87281

Browse files
authored
Replace deprecated ::set-output (#337)
As per the deprecation warning and explanation at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent 65fce04 commit 5e87281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
python-version: ${{ matrix.python-version }}
5858
- name: Get full Python version
5959
id: full-python-version
60-
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
60+
run: echo "version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")" >> $GITHUB_OUTPUT
6161
- name: Bootstrap poetry
6262
run: |
6363
curl -sL https://install.python-poetry.org | python - -y ${{ matrix.bootstrap-args }}

0 commit comments

Comments
 (0)