Skip to content

omegaUp API change for "Migrate build-containers.yml to docker compos… #64

omegaUp API change for "Migrate build-containers.yml to docker compos…

omegaUp API change for "Migrate build-containers.yml to docker compos… #64

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Bump version and push tag
id: bump-version
uses: anothrNick/github-tag-action@43ed073f5c1445ca8b80d920ce2f8fa550ae4e8d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
INITIAL_VERSION: 1.0.0
RELEASE_BRANCHES: main
- name: Install Python dependencies
run: |
python3 -m pip install -r requirements/test.txt -r requirements.txt -r requirements.dev.txt
- name: Build wheel
run: python3 -m build
- name: Publish wheel
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}