Add job dependency and environment to pypi workflow (#1171)

This commit is contained in:
JonnyWong16 2023-07-27 18:31:31 -07:00 committed by GitHub
parent 22e0e91c9d
commit 0e02799597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,11 @@ jobs:
pypi: pypi:
name: Publish to PyPI name: Publish to PyPI
needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/PlexAPI
permissions: permissions:
id-token: write id-token: write
steps: steps: