Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
idoavrah committed Jul 21, 2023
1 parent 40c34c2 commit 5295f51
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
needs: build

steps:

- name: Download Artifact
uses: actions/download-artifact@v2
with:
Expand All @@ -53,13 +52,19 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/

# publish-production:
# runs-on: ubuntu-latest
# environment: production
# permissions:
# id-token: write
# needs: publish-test
publish-production:
runs-on: ubuntu-latest
environment: production
permissions:
id-token: write
needs: publish-test

# steps:
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
steps:
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: dist
path: ./dist/

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = "README.md"
authors = [{ name = "Ido Avraham" }]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: Apache License",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
Expand Down

0 comments on commit 5295f51

Please sign in to comment.