diff --git a/.github/workflows/pythontests.yml b/.github/workflows/pythontests.yml index b89a2b8..851ec8a 100644 --- a/.github/workflows/pythontests.yml +++ b/.github/workflows/pythontests.yml @@ -23,7 +23,8 @@ jobs: - name: Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + echo "dir=$(pip cache dir)" >> $env:GITHUB_OUTPUT - name: pip cache uses: actions/cache@v4 with: @@ -60,7 +61,8 @@ jobs: id: pip-cache run: | python -m pip install -U pip # to ensure version > 20 to have cache dir - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + echo "dir=$(pip cache dir)" >> $env:GITHUB_OUTPUT - name: pip cache uses: actions/cache@v4 with: @@ -106,7 +108,7 @@ jobs: cd main python setup.py sdist bdist_wheel - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: packages_dir: main/dist/ user: __token__