Skip to content

Commit

Permalink
Bugfix/update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
firecat53 committed Nov 15, 2024
1 parent e7c783d commit 37b092e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4

Expand All @@ -34,12 +34,11 @@ jobs:
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
name: urlscan-${{ matrix.python-version }}
path: dist/

publish-to-pypi:
name: >-
Publish to PyPI
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
Expand All @@ -54,7 +53,7 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
name: urlscan-3.13
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -74,7 +73,7 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
name: urlscan-3.13
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
Expand Down Expand Up @@ -118,7 +117,7 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
name: urlscan-3.12
path: dist/
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 37b092e

Please sign in to comment.