Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ei-grad committed Sep 5, 2024
1 parent edd0482 commit 5b79bfe
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 5b79bfe

Please sign in to comment.