Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit cd8a590

Browse files
authored
chore: implement github action for manual release
1 parent 0a9ca44 commit cd8a590

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Manual PyPi Publish
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
username:
6+
description: PyPi Username
7+
required: true
8+
default: __token__
9+
password:
10+
description: PyPi Password
11+
required: true
12+
jobs:
13+
publish:
14+
name: Manual PyPi Publish
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Clone Repository
18+
uses: actions/checkout@v3
19+
- name: Set up Python '3.10'
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: "3.10"
23+
- name: Set up Poetry
24+
uses: abatilo/[email protected]
25+
with:
26+
poetry-version: 1.1.13
27+
- name: Install dependencies
28+
run: poetry install
29+
- name: Publish to PyPi
30+
run: poetry publish --build -u ${{ github.event.inputs.username }} -p ${{ github.event.inputs.password }}

0 commit comments

Comments
 (0)