Skip to content

Commit

Permalink
always try building dist
Browse files Browse the repository at this point in the history
  • Loading branch information
sjml committed Nov 17, 2024
1 parent dda9120 commit f55f91a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ jobs:
build-dist:
runs-on: ubuntu-latest
needs: ['compare-messages']
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v4
- name: Setup Python
Expand All @@ -318,7 +317,7 @@ jobs:
- name: Upload Distribution Artifact
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
name: beschi-${{ github.ref_name }}
path: dist/

publish-pypi:
Expand All @@ -334,7 +333,7 @@ jobs:
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: python-package-distributions
name: beschi-${{ github.ref_name }}
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -343,6 +342,9 @@ jobs:
runs-on: macos-latest
needs: [build-dist]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
environment:
name: homebrew
url: https://github.com/sjml/homebrew-sjml/blob/main/Formula/beschi.rb
steps:
- name: Set Version Variable
run: echo "BESCHI_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
Expand Down

0 comments on commit f55f91a

Please sign in to comment.