From 9fbfe1b6c4e6e4ef20f70153eee863551d1ba258 Mon Sep 17 00:00:00 2001 From: James Kermode Date: Thu, 28 Sep 2023 20:32:47 +0100 Subject: [PATCH] fix check-tag syntax --- .github/workflows/build-wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: |