Skip to content

⬆️ Upgrade to EDC 0.6.0 #77

⬆️ Upgrade to EDC 0.6.0

⬆️ Upgrade to EDC 0.6.0 #77

Workflow file for this run

name: Publish edcpy
on:
push:
branches:
- main
defaults:
run:
working-directory: edcpy
env:
PYPI_PROJECT_NAME: edcpy
PYTHON_VERSION: "3.8"
POETRY_VERSION: "1.5.1"
jobs:
build-publish:
name: Build and publish edcpy to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/${{ env.PYPI_PROJECT_NAME }}
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ env.POETRY_VERSION }}
- name: Poetry install & build
run: |
poetry install
poetry build
- name: Publish package distributions to PyPI
uses: pypa/[email protected]
with:
skip-existing: true
packages-dir: edcpy/dist/
verbose: true