nidhal baccouri commited on
Commit
5cafd85
·
1 Parent(s): 5a1d333

updated release pipeline

Browse files
Files changed (1) hide show
  1. .github/workflows/release.yml +14 -7
.github/workflows/release.yml CHANGED
@@ -14,12 +14,19 @@ jobs:
14
 
15
  steps:
16
  - uses: actions/checkout@v2
17
- with:
18
- fetch-depth: 0
 
 
 
 
 
 
 
 
19
 
20
- - name: Python Semantic Release
21
- uses: relekang/python-semantic-release@master
22
  with:
23
- github_token: ${{ secrets.GITHUB_TOKEN }}
24
- repository_username: __token__
25
- repository_password: ${{ secrets.PYPI_TOKEN }}
 
14
 
15
  steps:
16
  - uses: actions/checkout@v2
17
+ - name: Run image
18
+ uses: abatilo/actions-poetry@v2.0.0
19
+ - name: View poetry version
20
+ run: poetry --version
21
+ - name: Update poetry
22
+ run: poetry update
23
+ - name: Install dependencies
24
+ run: poetry install
25
+ - name: Build package
26
+ run: poetry build
27
 
28
+ - name: Publish package to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
30
  with:
31
+ user: __token__
32
+ password: ${{ secrets.PYPI_TOKEN }}