Skip to content

looker-deployer: v0.3.12 #13

looker-deployer: v0.3.12

looker-deployer: v0.3.12 #13

Workflow file for this run

name: Python Publish to PYPI
on:
release:
types: published
workflow_dispatch:
inputs:
ref:
description: 'commit/tag/branch to release from'
required: true
defaults:
run:
shell: bash
jobs:
publish:
if: >
(github.event.inputs) ||
(startsWith(github.event.release.tag_name, 'looker-deployer') &&
!github.event.release.draft &&
!github.event.release.prerelease)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.release.tag_name || github.event.inputs.ref }}
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Package release artifacts
run: |
pip install wheel
python setup.py sdist bdist_wheel
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: dist/