diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d6a3a1..3921c2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: @@ -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 @@ -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