Skip to content

Commit

Permalink
Updating Tag Action (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Apr 8, 2024
1 parent 78f0acb commit 31edd1e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tag-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
pypi-publish:
name: PyPI Publish
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/brewtils
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

steps:
- uses: actions/checkout@v2
Expand All @@ -48,13 +54,11 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
continue-on-error: true
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: make publish-package
- name: Make Package
run: make package

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

pypi-verify:
name: Verify PyPI Publish
Expand Down

0 comments on commit 31edd1e

Please sign in to comment.