Skip to content

deprecation warnings (#111) #99

deprecation warnings (#111)

deprecation warnings (#111) #99

Workflow file for this run

# This workflow will generate a distribution and upload it to PyPI
name: Publish Alpha Build ...aX
on:
push:
branches:
- dev
paths-ignore:
- 'ovos_bus_client/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'README.md'
- 'scripts/**'
workflow_dispatch:
jobs:
update_version:
uses: neongeckocom/.github/.github/workflows/propose_semver_release.yml@master
with:
release_type: "alpha"
version_file: ovos_bus_client/version.py
alpha_var: VERSION_ALPHA
build_var: VERSION_BUILD
minor_var: VERSION_MINOR
major_var: VERSION_MAJOR
update_changelog: True
branch: dev
build_and_publish:
runs-on: ubuntu-latest
needs: update_version
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{secrets.PYPI_TOKEN}}