omegaUp API change for "Add feature for layout rename (#7835)" (#488) #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |