Skip to content

Commit edee7da

Browse files
committed
CI: Drop set-output, upgrade gh-action-pypi-publish to 1.5.1
1 parent ca2cfa9 commit edee7da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ jobs:
109109
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
110110
env:
111111
PYPI_API_TOKEN: "${{ secrets.PYPI_API_TOKEN }}"
112-
run: if [ -n "$PYPI_API_TOKEN" ]; then echo ::set-output name=DEPLOY::true; fi
112+
run: if [ -n "$PYPI_API_TOKEN" ]; then echo "DEPLOY=true" >> $GITHUB_OUTPUT; fi
113113
- name: Upload to PyPI
114114
if: steps.deployable.outputs.DEPLOY
115-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 # v1.4.2
115+
uses: pypa/gh-action-pypi-publish@37f50c210e3d2f9450da2cd423303d6a14a6e29f # v1.5.1
116116
with:
117117
user: __token__
118118
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)