Skip to content

Commit

Permalink
PyPI workflow: use GitHub Environment (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyTeng authored Jul 1, 2023
1 parent e27b825 commit 7c7a927
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@ permissions:
contents: read

jobs:
deploy:

publish:
runs-on: ubuntu-latest

environment: PyPI
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 7c7a927

Please sign in to comment.