Skip to content

Commit

Permalink
ci: full workflow implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
M4RC0Sx committed Aug 17, 2024
1 parent d43b8b0 commit 856f818
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release
on:
push:
branches:
- feature/release-workflow
- master

jobs:
release:
Expand Down Expand Up @@ -66,5 +66,20 @@ jobs:
run: poetry run python -m esiosapy
- name: Run Poetry dummy command 2
run: poetry run pip list


#----------------------------------------------
# Semantic Release
#----------------------------------------------
- name: Semantic Release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

#----------------------------------------------
# Build and publish package
#----------------------------------------------
- name: Build and publish package
run: poetry publish --build --no-interaction
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 856f818

Please sign in to comment.