Skip to content

New package tag relying on 3.18.2 dbs3_pycurl version #15

New package tag relying on 3.18.2 dbs3_pycurl version

New package tag relying on 3.18.2 dbs3_pycurl version #15

Workflow file for this run

name: Build
on:
push:
tags:
- '4.*.*'
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
jobs:
build-n-publish:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code/repo into the directory
uses: actions/checkout@v2
- name: Get the Ref
id: get-ref
uses: ankitvgupta/ref-to-tag-action@master
with:
ref: ${{ github.ref }}
head_ref: ${{ github.head_ref }}
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install pypa and depencies
run: |
python3 -m pip install --upgrade pip --user
python3 -m pip install --upgrade build --user
python3 -m pip install --upgrade twine --user
python3 -m pip install --upgrade wheel --user
- name: Build a binary wheel and a source tarball
run: |
python3 setup.py sdist
python3 setup.py bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}