Skip to content

Replace webdriver-manager with Selenium Manager #46

Replace webdriver-manager with Selenium Manager

Replace webdriver-manager with Selenium Manager #46

name: Upload Pylenium Package to pypi
on:
release:
types: [created]
workflow_dispatch:
inputs:
version: # keeping this for eventaul autobump feature
description: "The version to publish to pypi"
required: false
default: "develop"
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Build distributions
run: |
pip install poetry
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1