Skip to content

chore(release): 1.9.3 #17

chore(release): 1.9.3

chore(release): 1.9.3 #17

Workflow file for this run

name: release_pypi
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
env:
BUILD_PYTHON_VERSION: 3.8
BUILD_POETRY_VERSION: 1.6.1
PACKAGE_NAME: evernote-backup
jobs:
publish_pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ env.BUILD_PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.BUILD_PYTHON_VERSION }}
- name: Set up Poetry ${{ env.BUILD_POETRY_VERSION }}
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ env.BUILD_POETRY_VERSION }}
- name: Build project for distribution
run: poetry build
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish
publish_tap:
needs: [publish_pypi]
runs-on: ubuntu-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.BREW_BUMP_TOKEN }}
formula: ${{ env.PACKAGE_NAME }}