Skip to content

Merge pull request #40 from digitronik/pin_wt_core #6

Merge pull request #40 from digitronik/pin_wt_core

Merge pull request #40 from digitronik/pin_wt_core #6

Workflow file for this run

name: Deploy
on:
push:
tags:
- "*"
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install dependencies
run: pip install pip twine -U
- name: Build a wheel
run: pip wheel --no-deps -w dist .
- name: Test package
run: twine check dist/*
- name: Deploy to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: Create a release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false