fix order of github action steps #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Package to Test PyPi | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12.0 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12.0 | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- run: pip install virtualenv | |
- run: virtualenv venv | |
- run: source venv/bin/activate | |
- run: pip install setuptools | |
- run: python setup.py sdist | |
- run: pip wheel . -w dist | |
- name: Publish package distributions to Test PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
repository-url: https://test.pypi.org/legacy/ |