Skip to content

Commit

Permalink
chore(project): add GitHub Actions workflow for automatic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-budig committed Oct 14, 2021
1 parent b2c85ca commit b3acda0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Build and publish new version"

on:
push:
tags: "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
name: Install Python
with:
python-version: "3.9"

- name: Install poetry
run: pip install poetry --pre

- name: Build wheels
run: poetry build

- name: Publish wheels
run: poetry publish --username ${{ secrets.PYPI_USER }} --password ${{ secrets.PYPI_PW }}

0 comments on commit b3acda0

Please sign in to comment.