Skip to content

Commit

Permalink
Merge pull request #9 from quantumlib/ci_workflows
Browse files Browse the repository at this point in the history
upload to pypi
  • Loading branch information
NoureldinYosri authored Sep 11, 2024
2 parents be8aa44 + d1b134a commit d246cc1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,15 @@ jobs:
mv wheelhouse/* dist/
rm dist/*.tar.gz
- name: Publish package
- name: Publish package to testpypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
password: ${{ secrets.TEST_PYPI_API_TOKEN }}

- name: Publish package to pypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 6 additions & 0 deletions .github/workflows/stable-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@ jobs:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}

- name: Publish package to pypi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion dev_tools/protos.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
grpcio-tools~=1.56.0
grpcio-tools~=1.59.0
mypy-protobuf==3.4
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ attrs
cython>=3.0.0
numpy>=1.23.0
pyparsing
grpcio-tools>=1.59.0
1 change: 0 additions & 1 deletion tunits/proto/tunits_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d246cc1

Please sign in to comment.