Skip to content

Commit

Permalink
Merge pull request #220 from jdkandersson/bugfix/release-action
Browse files Browse the repository at this point in the history
re-enable release publishing
  • Loading branch information
jdkandersson authored Nov 15, 2020
2 parents 5eeba55 + 797bbe1 commit abcfeaa
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,22 +180,21 @@ jobs:
with:
name: wheel
path: dist/
- run: ls -R
# - name: Publish the release
# uses: softprops/action-gh-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# body: ${{ steps.changelog_entry.outputs.log_entry }}
# files: |
# dist/*
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
- name: Publish the release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
# - name: Publish distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags')
body: ${{ steps.changelog_entry.outputs.log_entry }}
files: |
dist/*
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.pypi_password }}
# password: ${{ secrets.test_pypi_password }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}

0 comments on commit abcfeaa

Please sign in to comment.