We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bca56 commit 8530640Copy full SHA for 8530640
.github/workflows/publish-to-gpr.yml
@@ -25,17 +25,13 @@ jobs:
25
- name: Install dependencies
26
run: |
27
python -m pip install --upgrade pip
28
- pip install build
29
-
30
- - name: List files for debugging
31
- run: ls -R
+ pip install build twine
32
33
- name: Build package
34
run: python -m build
35
36
- name: Publish package to GitHub Packages
37
- uses: pypa/gh-action-pypi-publish@release/v1
38
- with:
39
- user: __token__
40
- password: ${{ secrets.GITHUB_TOKEN }}
41
- repository_url: https://pypi.pkg.github.com/bnlnpps
+ run: twine upload --repository-url https://pypi.pkg.github.com/bnlnpps dist/*
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
0 commit comments