Skip to content

Commit

Permalink
add github action for manual publishin (Testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Jun 27, 2024
1 parent 83ff518 commit bf75f14
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish_manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish Pypi

# Manual activation
on: [workflow_dispatch]

jobs:
# -- Publish a new Apio release
publish:
runs-on: ubuntu-22.04
steps:
# -- Checkout the main branch
- name: Checkout sources
uses: actions/checkout@v4
with:
ref: master

# -- Install and and configure python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"

# -- Install all the dependencies needed
- name: Install dependencies
run: |
make deps
# -- Publish to Pypi!!
- name: Publish to PyPi
env:
FLIT_USERNAME: ${{ secrets.PYPI_USERNAME }}
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
make publish

0 comments on commit bf75f14

Please sign in to comment.