Skip to content

Commit 530cf0c

Browse files
Copilotdobairoland
andcommitted
Add environment configuration for PyPI trusted publishing
Co-authored-by: dobairoland <[email protected]>
1 parent f7759a3 commit 530cf0c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/dev_release_esptool_pypi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414

1515
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref_name, 'dev')
1616

17+
environment:
18+
name: pypi
19+
url: https://pypi.org/p/esptool
20+
1721
permissions:
1822
id-token: write
1923

.github/workflows/release_esptool_pypi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14+
environment:
15+
name: pypi
16+
url: https://pypi.org/p/esptool
17+
1418
permissions:
1519
id-token: write
1620

0 commit comments

Comments
 (0)