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 944c736 commit eb161edCopy full SHA for eb161ed
1 file changed
.github/workflows/publish.yml
@@ -2,17 +2,19 @@ name: Publish library
2
3
on:
4
push:
5
- branches:
6
- - main
7
tags:
8
# Don't try to be smart about PEP 440 compliance,
9
# see https://www.python.org/dev/peps/pep-0440/#appendix-b-parsing-version-strings-with-regular-expressions
10
- v*
11
12
jobs:
13
publish:
14
- environment: publish
+ environment:
+ name: publish
+ url: https://pypi.org/p/arviz-stats
15
runs-on: ubuntu-latest
16
+ permissions:
17
+ id-token: write
18
steps:
19
- uses: actions/checkout@v3
20
- name: Set up Python
@@ -26,6 +28,3 @@ jobs:
26
28
- name: Publish to PyPI
27
29
uses: pypa/gh-action-pypi-publish@release/v1
30
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- with:
- user: __token__
31
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments