Skip to content

Commit bf75f14

Browse files
committed
add github action for manual publishin (Testing)
1 parent 83ff518 commit bf75f14

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/publish_manual.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Pypi
2+
3+
# Manual activation
4+
on: [workflow_dispatch]
5+
6+
jobs:
7+
# -- Publish a new Apio release
8+
publish:
9+
runs-on: ubuntu-22.04
10+
steps:
11+
# -- Checkout the main branch
12+
- name: Checkout sources
13+
uses: actions/checkout@v4
14+
with:
15+
ref: master
16+
17+
# -- Install and and configure python
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.9"
22+
23+
# -- Install all the dependencies needed
24+
- name: Install dependencies
25+
run: |
26+
make deps
27+
28+
# -- Publish to Pypi!!
29+
- name: Publish to PyPi
30+
env:
31+
FLIT_USERNAME: ${{ secrets.PYPI_USERNAME }}
32+
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
33+
run: |
34+
make publish

0 commit comments

Comments
 (0)