Skip to content

Commit

Permalink
Merge pull request #4 from OpenBuildRight/feature/ci
Browse files Browse the repository at this point in the history
Added deployment CI.
  • Loading branch information
DustinMoriarty authored Aug 13, 2023
2 parents ed299be + 52c4d14 commit da6ee79
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
tags:
- '*.*.*'

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/asyncio-signal-bus/
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
- name: Checkout code
uses: actions/checkout@v2
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python - -y
- name: Build
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "asyncio-signal-bus"
version = "1.0.0"
version = "1.0.1"
description = ""
authors = ["DustinMoriarty <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit da6ee79

Please sign in to comment.