diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 08d0d48..8264b46 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -6,12 +6,15 @@ jobs: pypi-publish: runs-on: ubuntu-latest environment: - name: pypiPublish package distributions to PyPI + name: pypi url: https://pypi.org/p/sphinxnotes-snippet permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - - run: pwd && ls && make dist + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + - run: pip install -r '[.dev]' + - run: ls && make dist - uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/