Skip to content

Commit 6abe65a

Browse files
committed
Replaced set-output commands in actions
1 parent 02bac37 commit 6abe65a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
2424
- name: Extract tag name
2525
id: tag
26-
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
26+
run: echo "TAG_NAME=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT
2727

2828
- name: Update version in setup.py
2929
run: >-

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Extract tag name
3434
id: tag
35-
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
35+
run: echo "TAG_NAME=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT
3636

3737
- name: Update version in setup.py
3838
run: >-
@@ -45,7 +45,7 @@ jobs:
4545
run: python -m build --sdist --wheel --outdir dist/
4646

4747
- name: Publish distribution 📦 to PyPI
48-
uses: pypa/gh-action-pypi-publish@master
48+
uses: pypa/gh-action-pypi-publish@release/v1
4949
with:
5050
user: __token__
5151
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)