1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2024-11-16 17:56:52 +00:00
sync_ics2gcal/.github/workflows/pythonpublish.yml

29 lines
621 B
YAML
Raw Normal View History

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
2022-04-05 09:38:17 +00:00
- uses: actions/checkout@v3
- name: Set up Python
2021-10-09 12:13:30 +00:00
uses: actions/setup-python@v2
with:
python-version: '3.x'
2021-10-09 12:13:30 +00:00
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install deps
2023-08-20 20:03:27 +00:00
run: poetry install --with dev
2021-10-09 12:13:30 +00:00
- name: Build
run: poetry build
- name: Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi_token }}
run: |
poetry publish -n