1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2025-09-09 03:27:37 +00:00
Files
sync_ics2gcal/.github/workflows/pythonpublish.yml
Dmitry Belyaev 3fcb4855d5 upd deps (#314)
* fix utcnow deprecation warnings
* upd deps
* upd workflows
2025-06-19 13:36:26 +03:00

29 lines
623 B
YAML

name: Upload Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install deps
run: poetry install --with dev
- name: Build
run: poetry build
- name: Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi_token }}
run: |
poetry publish -n