Skip to content

Commit

Permalink
Publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikWin committed Aug 18, 2024
1 parent 194b2b6 commit 8568daa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish

on:
release:
types: [published]

jobs:

publish-py:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flit
- name: Build and publish
run: |
pushd vidformer-py
flit build
flit publish
popd
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 8568daa

Please sign in to comment.