Skip to content

Commit 59d9708

Browse files
committed
publish update
1 parent 195bfc2 commit 59d9708

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: Publish package
1010
name: Upload Python Package
1111

1212
on:
13-
release
13+
release:
1414
types: [published]
1515

1616
jobs:
@@ -43,28 +43,5 @@ jobs:
4343
# if: startsWith(github.ref, 'refs/tags')
4444
uses: pypa/gh-action-pypi-publish@release/v1
4545
with:
46-
permissions:
47-
contents: read
48-
49-
jobs:
50-
deploy:
51-
52-
runs-on: ubuntu-latest
53-
54-
steps:
55-
- uses: actions/checkout@v3
56-
- name: Set up Python
57-
uses: actions/setup-python@v3
58-
with:
59-
python-version: '3.x'
60-
- name: Install dependencies
61-
run: |
62-
python -m pip install --upgrade pip
63-
pip install build
64-
- name: Build package
65-
run: python -m build
66-
- name: Publish package
67-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
68-
with:
6946
user: __token__
7047
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)