Skip to content

Commit

Permalink
fix: build-tag-and-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sariola committed Oct 8, 2024
1 parent 3988617 commit 0a71da3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-tag-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v4
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -66,7 +67,7 @@ jobs:

publish-to-pypi:
name: Publish Python 🐍 distribution 📦 to PyPI
needs: [publish-to-testpypi]
needs: [build]
runs-on: self-hosted
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
environment:
Expand All @@ -76,7 +77,8 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v4
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -103,7 +105,8 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v4
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down

0 comments on commit 0a71da3

Please sign in to comment.