Skip to content

Commit

Permalink
Update Github Actons
Browse files Browse the repository at this point in the history
  • Loading branch information
mlasevich committed Dec 14, 2022
1 parent a03b4ef commit 8adf35d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:
run: |
python -m pytest --junitxml ./reports/results.xml --cov-config .coveragerc --cov=src
- name: Build Package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: |
pip install build
python -m build
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
- name: Coveralls
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.COVERALLS_GITHUB_TOKEN }}

0 comments on commit 8adf35d

Please sign in to comment.