Skip to content

Commit

Permalink
👷 Add GitHub release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
renardguill committed Sep 28, 2022
1 parent 0eaf5cc commit b7d5f4c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ on:
tags:
- v*.*.*


jobs:
build:
build_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -22,8 +21,17 @@ jobs:
python -m pip install poetry --user
poetry install
- name: Build Pyhton module
run: poetry build -f wheel
run: poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}
- name: Create GitHub release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
README.MD
CHANGELOG.MD
dist/*

0 comments on commit b7d5f4c

Please sign in to comment.