diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ca0930..cde7e4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,30 +5,30 @@ on: types: [published, released] jobs: - publish: + publish: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' # Use your desired Python version + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' # Use your desired Python version - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build twine + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build twine - - name: Build package - run: | - python -m build - - - name: PyPI - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: | - python -m twine upload dist/* --comment "${{ steps.get_release_notes.outputs.release_notes }}" \ No newline at end of file + - name: Build package + run: | + python -m build + + - name: PyPI + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + run: | + python -m twine upload dist/* --comment "${{ steps.get_release_notes.outputs.release_notes }}" \ No newline at end of file