We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b15d25 commit 82917b4Copy full SHA for 82917b4
.github/workflows/release.yml
@@ -12,6 +12,7 @@ jobs:
12
permissions:
13
contents: write
14
packages: write
15
+ id-token: write
16
steps:
17
- uses: actions/checkout@v4
18
with:
@@ -71,10 +72,10 @@ jobs:
71
72
- name: Release PyPI
73
if: startsWith(github.ref, 'refs/tags/')
74
run: |
- poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
75
- env:
76
- PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
77
- PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ poetry build --no-cache
+ - name: Release PyPI
+ if: startsWith(github.ref, 'refs/tags/')
78
+ uses: pypa/gh-action-pypi-publish@release/v1
79
- name: Build Anaconda
80
81
mkdir /tmp/conda-out
0 commit comments