Skip to content

Commit

Permalink
Merge pull request #7 from renardguill/feature/addPipelines
Browse files Browse the repository at this point in the history
👷 Add GitHub release creation
  • Loading branch information
renardguill authored Sep 28, 2022
2 parents 658fb18 + b7d5f4c commit 3e8cc60
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 3e8cc60

Please sign in to comment.