Skip to content

Commit 730ab9f

Browse files
committed
fix: add environment pypi to ci files
1 parent 70e4cd7 commit 730ab9f

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
name: Publish API release
4949
needs: build_wheels
5050
runs-on: ubuntu-latest
51+
environment: pypi
5152
permissions:
5253
id-token: write
5354
if: startsWith(github.ref, 'refs/tags/api-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)

.github/workflows/build-protocol.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
name: Publish Protocol release
8181
needs: build_wheels
8282
runs-on: ubuntu-latest
83+
environment: pypi
8384
permissions:
8485
id-token: write
8586
if: startsWith(github.ref, 'refs/tags/protocol-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)

.github/workflows/build-rtc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ jobs:
176176
name: Publish RTC release
177177
needs: [build_wheels, make_sdist, test]
178178
runs-on: ubuntu-latest
179+
environment: pypi
179180
permissions:
180181
id-token: write
181182
if: startsWith(github.ref, 'refs/tags/rtc-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)

0 commit comments

Comments
 (0)