We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a486ce4 commit 72d19dbCopy full SHA for 72d19db
.github/workflows/publish-to-pypi.yml
@@ -6,8 +6,13 @@ on:
6
7
jobs:
8
build-and-publish:
9
- name: Build and publish distribution to PyPi
+ name: Build and publish distribution to PyPI
10
runs-on: ubuntu-latest
11
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/p/amazon-braket-build-tools
14
+ permissions:
15
+ id-token: write
16
steps:
17
- uses: actions/checkout@v5
18
- name: Set up Python
@@ -23,6 +28,4 @@ jobs:
23
28
- name: Build a binary wheel and a source tarball
24
29
run: python setup.py sdist bdist_wheel
25
30
- name: Publish distribution to PyPI
26
- uses: pypa/gh-action-pypi-publish@master
27
- with:
- password: ${{ secrets.pypi_token }}
31
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments