Skip to content

Commit

Permalink
chore: remove pre-version package to be published on Pypi website (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Jan 22, 2024
2 parents 8f722fd + 36328f4 commit a02b90c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/publish-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,6 @@ jobs:
packages-dir: packages/python/pkg/
repository-url: https://test.pypi.org/legacy/

- name: Publish to PyPI
if: github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
print-hash: true
packages-dir: packages/python/pkg/

release-cpp-package:
needs: [version]
strategy:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ jobs:
name: python-packages
path: packages/python/pkg/

- name: Publish to PyPITest
if: github.ref != 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.DEV_PYPI_API_TOKEN }}
print-hash: true
packages-dir: packages/python/pkg/
repository-url: https://test.pypi.org/legacy/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit a02b90c

Please sign in to comment.