From 304d2c9c8c95d63f6d6c7d76cfef2b9a62e3b5cb Mon Sep 17 00:00:00 2001 From: Valentin Zickner Date: Tue, 7 Nov 2023 17:53:12 +0100 Subject: [PATCH] fix order of github action steps --- .github/workflows/test-release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index b19d4ee..6ec063a 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -10,10 +10,6 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ - name: Set up Python 3.12.0 uses: actions/setup-python@v4 with: @@ -26,5 +22,7 @@ jobs: - run: pip install setuptools - run: python setup.py sdist - run: pip wheel . -w dist - - run: python -m pip install --upgrade twine - - run: twine upload --repository-url https://test.pypi.org/legacy/ dist/* + - name: Publish package distributions to Test PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy/