Skip to content

Commit

Permalink
upgraded actions in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza committed May 7, 2024
1 parent 753ba0f commit 69a1285
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pypa/build
Expand All @@ -22,14 +22,14 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist

publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
Publish Python distribution package to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
Expand All @@ -45,7 +45,7 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
- name: Publish distribution package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

publish-to-testpypi:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

github-release:
name: >-
Sign the Python 🐍 distribution 📦 with Sigstore
Sign the Python distribution package with Sigstore
and upload them to GitHub Release
needs:
- publish-to-pypi
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyalfe"
version = "0.0.1"
version = "0.1.0"
authors = [
{name = "Reza Eghbali", email="[email protected]"},
{email = "[email protected]"}
Expand Down

0 comments on commit 69a1285

Please sign in to comment.