diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70207d1..4b9f07c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,21 +18,15 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: + name: dist path: dist/ test: name: Run tests needs: build strategy: matrix: - python-version: [ - #"3.7", "3.8", "3.9", "3.10", "3.11", - "3.12", - #"3.13" - ] - os: [ - ubuntu-latest, - #macos-latest, windows-latest - ] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -43,7 +37,7 @@ jobs: uses: actions/download-artifact@v4 - name: Install wheel shell: bash - run: find && pip install dist/*.whl + run: pip install dist/*.whl - name: Make it use package from wheel shell: bash run: rm flask_shell_ipython.py @@ -72,6 +66,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: "https://test.pypi.org/legacy/" + attestation: true pypi-publish: name: Release on PyPI needs: test @@ -87,3 +82,5 @@ jobs: uses: actions/download-artifact@v4 - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: + attestation: true