Skip to content

Commit 0dd8f0e

Browse files
authored
update workflow (#170)
1 parent ac20228 commit 0dd8f0e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,35 @@
44

55
name: "publish release"
66

7-
on:
7+
on:
8+
workflow_dispatch:
89
release:
910
types: [created]
1011

1112
jobs:
1213
build:
1314
runs-on: ubuntu-latest
1415
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
1718
with:
18-
python-version: '3.9'
19+
python-version: '3.11'
1920

2021
- name: install build dependencies
2122
run: python -m pip install --upgrade build
2223

2324
- name: build
2425
run: python -m build
2526

26-
- uses: actions/upload-artifact@v3
27+
- uses: actions/upload-artifact@v4
2728
with:
2829
path: dist
2930

3031
publish-pypi:
3132
runs-on: ubuntu-latest
3233
needs: [build]
3334
steps:
34-
- uses: actions/download-artifact@v4.1.7
35+
- uses: actions/download-artifact@v4
3536
with:
3637
name: artifact
3738
path: dist

0 commit comments

Comments
 (0)