diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0f14560..a101f4c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,7 @@ jobs: wheels: - if: ${{ github.event_name == 'workflow_dispatch' || (github.event.base_ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v')) }} + if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v') }} name: ${{ matrix.py }} ${{ matrix.os }} ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: @@ -163,6 +163,9 @@ jobs: with: submodules: true + - name: Dump GitHub context + run: echo '${{ toJSON(github) }}' + - uses: actions/setup-python@v4 name: Install Python with: @@ -183,7 +186,7 @@ jobs: name: Upload to PyPI needs: [wheels, sdist] runs-on: ubuntu-latest - if: ${{ github.event.base_ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') }} steps: - name: Download files in artifact to "dist/" directory uses: actions/download-artifact@v3