Skip to content

Commit 5b87c09

Browse files
committed
Switch to token
1 parent 7993e73 commit 5b87c09

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- name: Set up Python env
12-
uses: actions/setup-python@v4
12+
uses: actions/setup-python@v5
1313
with:
14-
python-version: 3.8
14+
python-version: 3.11
1515

1616
- name: Install dependencies
1717
run: |
@@ -23,6 +23,6 @@ jobs:
2323
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
2424
env:
2525
FLIT_INDEX_URL: https://upload.pypi.org/legacy/
26-
FLIT_USERNAME: ${{ secrets.PYPI_USERNAME }}
27-
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26+
FLIT_USERNAME: __token__
27+
FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2828
run: flit publish

0 commit comments

Comments
 (0)