diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index cc9cc95..5857947 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -68,10 +68,10 @@ jobs: - name: Check tag id: check-tag run: | - if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then - echo ::set-output name=match::true + if [[ ${{ github.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+ ]]; then + echo "match=true" >> $GITHUB_OUTPUT fi - + - name: Deploy to PyPI if: steps.check-tag.outputs.match == 'true' run: |